Good day to you, CG, 

AFAIK, there's none.

If you want, you can remove your profile from the activeProfiles section,
and add to your profile something like this

...
<activation>
  <property>
    <name>!exclude-this-profile</name>
  </property>
</activation>
...

This profile will activate by default unless the exclude-this-profile
property is defined. 

For example, if you do mvn clean install on your projects, that profile will
run. But if you do mvn clean install -Dexclude-this-profile, that profile
won't run.

You may want to see [1] for more info about the negation of profile
activation. Although the profile discussed in [1] is different from the
profiles in settings.xml, the negation mechanism for both are the same.

Cheers,
Franz

[1] http://docs.codehaus.org/display/MAVENUSER/Profiles


Christian Goetze-3 wrote:
> 
> Is there a magic incantation on the command line to deactivate a profile 
> mentioned in the <activeProfiles /> section?
> --
> cg
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-can-I-deactivate-an-activeProfile--tf3189392s177.html#a8859288
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to