[Closed] (MNG-5758) Profile activeByDefault in settings.xml is not deactivated when an explicit profile is specified

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Closed] (MNG-5758) Profile activeByDefault in settings.xml is not deactivated when an explicit profile is specified

Robert Scholte (Jira)

     [ https://issues.apache.org/jira/browse/MNG-5758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MNG-5758.
-------------------------------
    Fix Version/s:     (was: wontfix-candidate)
                       (was: waiting-for-feedback)
       Resolution: Incomplete

No reaction for 1,5 years.

> Profile activeByDefault in settings.xml is not deactivated when an explicit profile is specified
> ------------------------------------------------------------------------------------------------
>
>                 Key: MNG-5758
>                 URL: https://issues.apache.org/jira/browse/MNG-5758
>             Project: Maven
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 3.2.5
>         Environment: Windows 7
>            Reporter: Franck Mangin
>            Priority: Major
>
> 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
(v8.3.4#803005)