[
https://jira.codehaus.org/browse/MNG-5105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason van Zyl updated MNG-5105:
-------------------------------
Assignee: Jason van Zyl
> disable/enable repositories in settings.xml does not work
> ---------------------------------------------------------
>
> Key: MNG-5105
> URL: https://jira.codehaus.org/browse/MNG-5105
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Artifacts and Repositories
> Affects Versions: 3.0.3
> Reporter: Jeremy Nguyen Xuan
> Assignee: Jason van Zyl
>
> With the following configuration, Maven will resolve SNAPSHOT dependencies
> from the first repository:
> <repositories>
> <repository>
> <id>public</id>
> <url>http://artifacts/content/groups/public</url>
> <releases>
> <enabled>true</enabled>
> </releases>
> <snapshots>
> <enabled>false</enabled>
> </snapshots>
> </repository>
> <repository>
> <id>allowed-snapshots</id>
> <url>http://artifacts/content/groups/allowed-snapshots/</url>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </repository>
> </repositories>
> The expected behavior would be Maven to resolve only release versions from
> the first repository, and snapshots versions from the second one.
--
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