[
http://jira.codehaus.org/browse/MNG-3122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Bentmann closed MNG-3122.
----------------------------------
Resolution: Fixed
Fix Version/s: (was: 3.0-alpha-8)
3.0-alpha-3
Assignee: Benjamin Bentmann
> MAVENPROJECT: getActiveProfiles() returning duplicate activeByDefault profile
> defined in LOCAL_HOME/.m2/settings.xml
> --------------------------------------------------------------------------------------------------------------------
>
> Key: MNG-3122
> URL: http://jira.codehaus.org/browse/MNG-3122
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Profiles
> Affects Versions: 2.0.7
> Reporter: Ian Berry
> Assignee: Benjamin Bentmann
> Fix For: 3.0-alpha-3
>
> Attachments: duplicateActiveProfiles.JPG,
> duplicateActiveProfiles.zip, settings.xml
>
>
> MavenProject:getActiveProfiles() is returning duplicate activeByDefault
> profiles defined in LOCAL_HOME/.m2/settings.xml.
> Attached settings.xml resides in LOCAL_HOME/.m2.
> Below is part of the output of a buildInformation plugin i am writing, which
> shows profile WLS8 twice.
> <activeProfiles>
> <activeProfile>
> <profileId>default-repositories</profileId>
> <profileSource>settings.xml</profileSource>
> </activeProfile>
> <activeProfile>
> <profileId>WLS8</profileId>
> <profileSource>settings.xml</profileSource>
> </activeProfile>
> <activeProfile>
> <profileId>WLS8</profileId>
> <profileSource>settings.xml</profileSource>
> </activeProfile>
> </activeProfiles>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira