Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.10
-
None
Description
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:
[DEBUG] plexus-component-annotations: resolved to version 1.2.1-20090912.121235-24 from repository apache.snapshots
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.