Re: Use 2 pom.xml files with different names

2015-08-11 Thread Daniel Johnson (danijoh2)
I would expect this behavior that Martin has shown. Create a pom.xml and pom2.xml, and run 'mvn clean install -f pom2.xml’, you will see pom2.xml get installed into local maven repository. As Martin shows, pom.xml or pom2.xml name is not what is copied to repository, but instead the -.pom namin

Plugin Configuration params take precedence over CLI Arguments?

2015-08-07 Thread Daniel Johnson (danijoh2)
Hi, I am facing an issue I really did not expect, where a plugins parameters in the POM take precedence over CLI –Dparam=value parameter values. My plugin takes a string parameter: @Mojo(name = "showValue", requiresProject = true, aggregator = true, defaultPhase = LifecyclePhase.PACKAGE, threa