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

Improve robustness of snapshot dependency resolution in case a remote repo accidently uses the id "local"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0.1
    • None

    Description

      This is a follow-up to MNG-4418. The model/settings validation that has been put in place to avoid metadata corruption of the local repo by a remote repo that misuses the same id doesn't help when plugins create repository instances on their own as with the maven-deploy-plugin in combination with its altDeploymentRepository parameter.

      Using such a setup, the JGit folks ended up with builds that weren't able to resolve local snapshots that had just been installed seconds before. We need to improve the diagnostic output to more easily detect this kind of metadata corruption and gracefully recover from it.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: