Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3415

Transfer errors cause junk metadata in the local repo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.8
    • 2.0.9
    • None

    Description

      I see this all the time and I swear there was an issue for it, but now I can't find it. Sometimes there is metadata in the repo, usually after an offline build or a build where something went wrong downloading artifacts. Maven will apparently decide based on the metadata that the file can never be found and will simply fail on a missing artifact. You can tell this has happened because no attempt has actually been made to download the artifact from a repository. Subsequent clearing of (portions) the localrepo fixes the issue. This is terribly confusing to new users...and annoying to everyone.

      Attachments

        1. MNG-3415.diff
          5 kB
          Brett Porter

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              brianf Brian E Fox
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: