You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Veyret Stephane <sv...@axway.com> on 2006/05/05 16:16:07 UTC
Profile activation with property non-existance
Hi,
It is possible to automatically activate a profile testing a property existance (tag profile/activation/property). But is it possible to automatically activate another profile when this same property does not exist ? This would be very usefull.
For exemple :
<profiles>
<!-- Delivery mode -->
<profile>
<activation>
<property>
<name>delivery-version</name>
</property>
</activation>
</profile>
<!-- Developpement mode -->
<profile>
<activation>
<noproperty>
<name>delivery-version</name>
</noproperty>
</activation>
</profile>
</profiles>
Thank you.