Details
Description
In maven 2.0.9, deactivating a profile "foo" that is declared and marked activeByDefault in the local POM does not work, as in DefaultProfileManager.java:227 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".
Issue Links
Activity
David Bernhard
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | MNG-3545-profiles.patch [ 34120 ] |
Brian Fox
made changes -
| Fix Version/s | 2.0.10 [ 14112 ] |
Paul Gier
made changes -
| Assignee | Paul Gier [ pgier ] |
Paul Gier
made changes -
| Status | Open [ 1 ] | In Progress [ 3 ] |
Paul Gier
made changes -
| Fix Version/s | 2.1-alpha-1 [ 13143 ] | |
| Resolution | Fixed [ 1 ] | |
| Status | In Progress [ 3 ] | Closed [ 6 ] |
Paul Benedict
made changes -
John Casey
made changes -
| Fix Version/s | 3.0-alpha-1 [ 13143 ] | |
| Fix Version/s | 2.1.0-M1 [ 14503 ] |
Torben S. Giesselmann
made changes -