I'm figuring out if I'm suffering from the same issue, or something different?
A lot of duplication going on in active-profiles output. I'm using an entirely default settings.xml.
C:\SVN_WA\unity-Sources\rootproject\rootprojectdesktop>mvn help:active-profiles
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] rootprojectdesktop
[INFO] orbitservices
[INFO] webuiapplet
[INFO] Searching repository for plugin with prefix: 'help'.
[INFO] ------------------------------------------------------------------------
[INFO] Building rootprojectdesktop
[INFO] task-segment: [help:active-profiles] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [help:active-profiles]
[INFO]
Active Profiles for Project 'com.wps.rd.unity:rootprojectdesktop:pom:0.0.5-SNAPSHOT':
The following profiles are active:
- profile-version-latest (source: pom)
Active Profiles for Project 'com.wps.rd.unity:orbitservices:jar:0.0.5-SNAPSHOT':
The following profiles are active:
- profile-version-latest (source: pom)
- profile-version-latest (source: pom)
Active Profiles for Project 'com.wps.rd.unity:webuiapplet:jar:0.0.1-SNAPSHOT':
The following profiles are active:
- profile-version-latest (source: pom)
- profile-version-latest (source: pom)
- profile-version-latest (source: pom)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Fri Aug 01 23:17:50 CEST 2008
[INFO] Final Memory: 3M/127M
[INFO] ------------------------------------------------------------------------
As a comparison:
C:\SVN_WA\unity-Sources\rootproject\rootprojectdesktop>mvn help:active-profiles -N
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'help'.
[INFO] ------------------------------------------------------------------------
[INFO] Building rootprojectdesktop
[INFO] task-segment: [help:active-profiles] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [help:active-profiles]
[INFO]
Active Profiles for Project 'com.wps.rd.unity:rootprojectdesktop:pom:0.0.5-SNAPSHOT':
The following profiles are active:
- profile-version-latest (source: pom)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Fri Aug 01 23:19:00 CEST 2008
[INFO] Final Memory: 3M/127M
[INFO] ------------------------------------------------------------------------
Attached is a stripped down version of buildinfo.
Install the settings.xml attached to this jira into LOCAL_HOME/.m2/
Unzip buildinfo, from the maven-buildinfo-plugin directory execute a: mvn install
to run the mojo execute a: mvn buildinfo:listActiveProfiles
Look for the error log messages, you will see the duplicate active profiles.
Active Profiles defined in LOCAL_HOME/.m2/settings.xml are showing up more than once in MavenProject#getActiveProfiles inside an executing plugin.