Franck Mangin created MNG-5758:
----------------------------------
Summary: Profile activeByDefault in settings.xml is not
deactivated when an explicit profile is specified
Key: MNG-5758
URL: https://jira.codehaus.org/browse/MNG-5758
Project: Maven
Issue Type: Bug
Components: Profiles
Affects Versions: 3.2.5
Environment: Windows 7
Reporter: Franck Mangin
If a profile "Def" is defined with activeByDefaut=true in both pom.xml and
settings.xml, and another "Other" profile is defined in pom.xml, running
mvn -POther help:active-profiles
reports
- Def (source: external)
- Other (source: pom.xml)
The expected behavior would be for Def to not be activated. Running without the
-P argument reports Def twice (external and pom.xml), so the automatic
deactivation behavior is inconsistent.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)