On 27 August 2010 17:11, Wayne Fay <wayne...@gmail.com> wrote: > > Looks like this maven plugin could feet your needs : > > http://haroon.sis.utoronto.ca/zarar/properties-maven-plugin/index.html > > Since Stephen hasn't given his usual response to this thread yet, I > will go ahead and copy/paste it in... > > Yes thanks for that Wayne... I should really keep it in the pastebin for rapid paste through
-Stephen > >> Beware, that plugin suffers from a fatal flaw: > >> > >> Plugins execute after the build plan has been constructed. > >> > >> Thus it can only provide properties for things which do not affect the > >> build plan. > >> > >> So, while you'll get some mileage out of that plugin.... ultimately > you'll > >> end up frustrated when you hit one of the places where property > >> subsitution takes place during determination of the build plan. > >> > >> Also, the property substitution will only take place *when* the plugin > is > >> run, so if you invoke another plugin directly outside of a lifecycle > goal, > >> you'll get no substitution... > > Wayne > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >