You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Russ Tremain <ru...@releasetools.org> on 2012/03/13 05:06:29 UTC
sensible way to default maven properties?
Hi,
I'm wondering if there is a sensible way to default properties in maven.
I.e., I want to have a property:
<properties>
<env.FOO>default-value-if-not-defined-elsewhere</env.FOO>
<FOO>${env.FOO}</FOO>
</properties>
I.e., use the default unless the varialble is provided by the
environment or via an explicit define in settings.xml or on the
command line.
tia,
-Russ
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org