[
http://jira.codehaus.org/browse/MNG-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Bentmann closed MNG-2918.
----------------------------------
Resolution: Duplicate
Fix Version/s: (was: 3.0-alpha-7)
Assignee: Benjamin Bentmann
> 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: New Feature
> Components: Profiles
> Affects Versions: 2.0.5
> Reporter: Roman Alekseenkov
> Assignee: Benjamin Bentmann
> 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