You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by nicolas de loof <ni...@apache.org> on 2008/01/15 10:33:57 UTC
Howto disable a profile when another is enabled ?
Hello,
I have used this configuration in a project to select the SOAP stack to use
for WSDL -> Java code generation
<profile>
<id>release</id>
<properties>
<release>true</release>
</properties>
<build> // WSDL2Java for Webpshere
</profile>
<profile>
<id>axis</id>
<activation>
<property>
<name>!release</name>
</property>
</activation>
<build> // WSDL2Java for Axis
</profile>
I now have upgraded to maven 2.0.8 and this doesn't work anymore :
mvn help:active-profiles -Prelease
The following profiles are active:
- release (source: pom)
- axis (source: pom)
Is there another way to DISABLE a profile, when another is enabled ?