2008/11/20 thuss2 <[EMAIL PROTECTED]>

>
> I'm pleased to say that to solve this problem I found the
> maven-properties-plugin which has been working great for me:
>
> http://arsenalist.com/2007/02/07/maven-properties-plugin-download/
>
> -Todd
>
>
>
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...

-Stephen

Reply via email to