Hmm...   the gmaven things looks like a good idea.  I may need to investigate 
it a bit more.

The solution that the Camel folks came up with was to have antrun write the 
properties out to a file (in target), and then use the properties-maven-plugin 
(at mojo) to load the properties file.   Seems to work, but that's two 
plugins.    If things can be done with gmaven in one, that might be simpler.

Dan


On Friday 18 June 2010 9:08:20 am lukewpatterson wrote:
> 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

-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog

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

Reply via email to