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

Maven should not check snapshot repositories for dependencies in the reactor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.10, 2.2.1
    • 3.0-beta-1
    • Dependencies
    • None

    Description

      If I build a multi-module project with intermodule dependencies, Maven will still check the snapshot repository for module artifacts in order to update the metadata in the local repository. Maven should not check the snapshot repository for any artifacts that are currently in the reactor.

      In addition, if I install a snapshot artifact to the local repository, and then build another project that depends on the first project, Maven will check the snapshot repository. Instead, Maven should only check the snapshot repository when there is no up to date (according to the update policy) local artifact installation.

      This seems to be working normally in Maven 3.0-alpha-6, but still requires more testing.

      Attachments

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              pgier Paul Gier
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: