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
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