Maven: Variables are not replaced in installed and deployed POM

Posted by mmuthu on Stack Overflow See other posts from Stack Overflow or by mmuthu
Published on 2010-05-03T10:35:07Z Indexed on 2010/05/03 10:38 UTC
Read the original article Hit count: 182

Filed under:

We have been trying to migrate our multi-module projects to maven. I have been struggling with the maven install plugin bug "http://jira.codehaus.org/browse/MNG-2971". I have written a Java program which can find and replace the expressions using my settings.xml and POM in my local repository view.

As a result all of my parent POM's are having a additional phase in the build process. What i'm doing is that i have attached a goal which will run my Java program during "validate" phase.

I think this is a not a good idea instead i would have asked individuals to run the program on their local repository on their own.

What i'm asking here is that the best way to work around the "install" plugin issue (MNG-2971).

I searched through the net but i could not locate such work around.

© Stack Overflow or respective owner

Related posts about maven-2