Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.7
-
None
Description
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>