You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Guillaume Durand <gd...@gillinfo.com> on 2005/09/23 16:18:50 UTC

[m1] How to set pom properties from maven.xml ?

Hi list,

I'd like to modify some existing pom property (declared in the property tag in project.xml) from a maven.xml script. How can I achieve this?

I've tried things like pom.getProperties().setProperty(), or pom.setProperties(pom.getProperties().setProperty()) or pom.context.setVariable but when I query pom.getProperty nothing has changed for my property.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org