>> we have many variable properties in our POMs to control 
>> artifact and depedency artifact versions and need these 
>> interpolated before deployment.

>If you use the maven-release-plugin, you can use
>-DgenerateReleasePoms=true as a command line option to generate a
>release-pom.xml. Everything in that file is resolved, so no properties
>remain in there.

thanks, but...

using the maven-release-plugin would push us down the route of using
maven to integrate builds with SCM (subversion)...
this is not a route we want to go down at the moment, we handle SVN
integration
manually. What we want is to have a generateReleasePoms type funcionality
in the deploy plugin so we can deploy release artifacts to our local Archiva
repository
with meaningful Poms.

At the moment we can hack this by making a filterred/interpolated copy of
the POM and then
cleaning this to remove unwanted directives using a script: then deploy the
artifact with this hacked
POM. 

Trevor
-- 
View this message in context: 
http://www.nabble.com/Deploy-a-POM-with-Properties-Filterred-interpolated-tp21030932p21070462.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to