Hi there,
Just following up on an old topic: https://www.genuitec.com/forums/topic/how-best-to-configure-multiple-projects/
I’ve got a web project that we hot deploy to tomcat. This project has other project dependencies that are defined as follows:
<dependent-module archiveName="Core-11.11.11-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/Core/Core">
<dependency-type>uses</dependency-type>
</dependent-module>
This file is under source control, so every time we create a new version and update POMs, MyEclipse is updating org.eclipse.wst.common.component. To the above, but with “11.11.12” for example.
I’ve seen in https://issues.sonatype.org/browse/MECLIPSEWTP-146 and https://issues.sonatype.org/browse/MECLIPSEWTP-112 that M4ME can support placeholders.
So, I’ve updated the config to look like this:
<dependent-module archiveName="Core-@{version}@-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/Core/Core">
<dependency-type>uses</dependency-type>
</dependent-module>
However, this gets overwritten too 🙁
How can I get around this?
Thanks.