You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephen Connolly (JIRA)" <ji...@codehaus.org> on 2012/08/16 10:51:21 UTC
[jira] (MNG-5280) Inconsistent order of repositories and
pluginRepositories from profiles in settings (regression Maven 3)
[ https://jira.codehaus.org/browse/MNG-5280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=306338#comment-306338 ]
Stephen Connolly commented on MNG-5280:
---------------------------------------
Integration test added to core it suite in r1373759
> Inconsistent order of repositories and pluginRepositories from profiles in settings (regression Maven 3)
> --------------------------------------------------------------------------------------------------------
>
> Key: MNG-5280
> URL: https://jira.codehaus.org/browse/MNG-5280
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Settings
> Affects Versions: 3.0.3, 3.0.4
> Environment: Mac OS 10.7 and Windows XP
> Java 1.6.0
> Reporter: Anders Hammar
> Attachments: fake-maven-plugin-1.0.jar, MNG-5280-IT.patch, MNG-5280-maven-model-builder.patch
>
>
> Repositories and pluginRepositories defined in profiles in settings.xml are not order consistently. This is a regression compared to Maven 2.
> Scenario:
> * Settings.xml defines two profiles, A and B (in this order).
> * Both profiles define a repository and a pluginRepository, A-repo/A-pluginrepo and B-repo/B-pluginrepo respectively.
> When checking the effective pom (help:effective-pom) the resulting list of repositories and pluginRepositories shows that they are not ordered consistently. The order is B-repo, A-repo and A-pluginrepo, B-pluginrepo respectively. With Maven 2.2.1 they are ordered consistently (and what I argue is correct): B-repo, A-repo and B-pluginrepo, A-pluginrepo.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira