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
Issue Type: Bug
Components: Profiles
Affects Versions: 2.0.7
Reporter: Ian Berry
Attachments: 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