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 01:52:55 UTC

[jira] Updated: (MNG-2918) Active-by-default profiles from settings.xml are not active without pom.xml

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

Jason van Zyl updated MNG-2918:
-------------------------------

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

> Active-by-default profiles from settings.xml are not active without pom.xml
> ---------------------------------------------------------------------------
>
>                 Key: MNG-2918
>                 URL: http://jira.codehaus.org/browse/MNG-2918
>             Project: Maven 2 & 3
>          Issue Type: Wish
>          Components: Profiles
>    Affects Versions: 2.0.5
>            Reporter: Roman Alekseenkov
>             Fix For: 3.0-alpha-7
>
>         Attachments: settings.xml
>
>
> I use Archiva as Maven proxy, see Maven settings file attached for details. It contains only one profile that is active by default and contains repository URLs on our local area network. If I try to build a specific project, which has pom.xml of course, the profile is being activated and downloads appropriate artifacts from the proxy server. However, when I execute a specific plugin goal without any project, Maven downloads all required artifacts from its central repository, which indicated that the profile hasn't been activated. I'm not sure, whether it is a bug or not. Anyway, it would be good to have _all_ traffic going through the proxy server.
> C:\Java>mvn archetype:create
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [archetype:create] (aggregator-style)
> [INFO] ----------------------------------------------------------------------------
> Downloading: http://repo1.maven.org/maven2/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar
> ....

-- 
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