You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2019/07/24 21:02:00 UTC
[jira] [Updated] (MNG-5758) Profile activeByDefault in settings.xml
is not deactivated when an explicit profile is specified
[ https://issues.apache.org/jira/browse/MNG-5758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov updated MNG-5758:
--------------------------------
Fix Version/s: waiting-for-feedback
> 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
> Fix For: waiting-for-feedback
>
>
> 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
(v7.6.14#76016)