You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2009/12/30 19:38:55 UTC

[jira] Updated: (MNG-3122) MAVENPROJECT: getActiveProfiles() returning duplicate activeByDefault profile defined in LOCAL_HOME/.m2/settings.xml

     [ http://jira.codehaus.org/browse/MNG-3122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl updated MNG-3122:
-------------------------------

    Fix Version/s:     (was: 2.2.x)
                   3.0-alpha-7

> 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
>             Fix For: 3.0-alpha-7
>
>         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