maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bernhard (JIRA)" <>
Subject [jira] Created: (MNG-3545) Option -P-profile overridden if profile is activebyDefault
Date Thu, 24 Apr 2008 07:36:04 GMT
Option -P-profile overridden if profile is activebyDefault

                 Key: MNG-3545
             Project: Maven 2
          Issue Type: Bug
          Components: Profiles
    Affects Versions: 2.0.9
            Reporter: David Bernhard
            Priority: Minor

In maven 2.0.9, deactivating a profile "foo" that is declared and marked activeByDefault in
the local POM does not work, as in all activeByDefault profiles
are added if no profile is explicitly given ("-Pbar").

In the attached zip, run 
 mvn -P-foo help:active-profiles
and note that foo *is* active.

The patch fixes these issues by checking all default-activated profiles against the exclusions
list when they are added "by default".

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message