not sure how to with antrun, here's a way with gmaven/ant:

http://pastebin.com/XsAdbbcY

two commands of interest:

mvn initialize - you'll see that the property gets changed to the value
retrieved from ant

mvn help:effective-pom - if you look at the project name, just a
reinforcement that if you explicitly use the property in your pom, it gets
eagerly resolved
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Exporting-Ant-properties-to-Maven-tp510023p510117.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