facebook

How to stop org.eclipse.wst.common.component changing?

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #393789 Reply

    optimad
    Participant

    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.

    #393828 Reply

    support-swapna
    Moderator

    optimad,

    Sorry that you are seeing this issue. I could not replicate the issue at my end with the latest MyEclipse 2015 Stable 2.0 release.

    Can you please give us some more details ?

    1. Please share the MyEclipse Version and Build Id from Help > About section.
    2. Can you please prepare a sample project which exhibits this issue and send us to help us replicate the issue at our end? Please share with us the exact steps you are following right from all the changes you are making to the files when a new version of the jar is created.

    –Swapna
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: How to stop org.eclipse.wst.common.component changing?

You must be logged in to post in the forum log in