Hi,
I'd like to set a property based on some other command line property. 
For instance if:

maven -Denv=qa java:compile
I'd like this:
build.properties
-----------------------
some.arbitrary.property=qaValue

but if
maven -Denv=prod java:compile
I'd like this:
build.properties
-----------------------
some.arbitrary.property=prodValue

I've come up with 2 theoretical solutions, but I don't know if either are valid.

1)  Can I embed jelly in my build.properties files?

2)  Is there a goal that occurs before maven loads the properties
file.  So I could write a <preGoal name="something">
<j:if>...
...
some.arbitrary.property=qaValue
...
some.arbitrary.property=prodValue

Thanks,
Ben

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to