Uploaded image for project: 'Maven Ant Tasks (RETIRED)'
  1. Maven Ant Tasks (RETIRED)
  2. MANTTASKS-160

Wrong metadata files created for mirrored remote repositories

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.10
    • 2.1.0
    • dependencies task
    • 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.

      Attachments

        Activity

          People

            bentmann Benjamin Bentmann
            bentmann Benjamin Bentmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: