disable/enable repositories in settings.xml does not work ---------------------------------------------------------
Key: MNG-5105 URL: http://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 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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira