If I have a maven profile activated by the presence of a property, how can I define another profile that is only activated when the other profile is not activated?
e.g.
<profile> <activation> <property> <name>myproperty</name> <value>value</value> </property> </activation> ... </profile> <profile> <activation> <property> <name>myproperty</name> <value></value> <!-- Anything other than 'value' --> </property> </activation> ... </profile>
It seems the answer is