Wrong metadata files created for mirrored remote repositories -------------------------------------------------------------
Key: MANTTASKS-160 URL: http://jira.codehaus.org/browse/MANTTASKS-160 Project: Maven 2.x Ant Tasks Issue Type: Bug Components: dependencies task Affects Versions: 2.0.10 Reporter: Benjamin Bentmann While debugging some strange build failures of Maven 3.x bootstrap on the grid due to missing dependencies, I found this line in the debug logs: {noformat} [DEBUG] plexus-component-annotations: resolved to version 1.2.1-20090912.121235-24 from repository apache.snapshots {noformat} where "apache.snapshots" is {{http://repository.apache.org/snapshots}}. The "apache.snapshots" repo doesn't contain anything from "org.codehaus.*" so the above line should not be present. Examination of "maven-metadata-apache.snapshots.xml" from the local repo for the artifact in question revealed the file was actually downloaded from the repository "Nexus". I eventually tracked this down the Ant Tasks running during the bootstrap that only update the repo URL but not the repo ID when mirroring. -- 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