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

Snapshot repositories are not checked when using ranges

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.6
    • 3.0-beta-1
    • None
    • Windows XP, Cygwin
    • Patch

    Description

      The attached patch demonstrates the problem by adding it0121. If the test repository has releases enabled, the test passes, when they are disabled, the test fails. This appears to be due to DefaultArtifact.isSnapshot returning false for unresolved ranges, thus causing snapshot repositories to be disabled when resolving artifacts.

      Attachments

        1. patch.txt
          6 kB
          Mark Hobson
        2. MNG-2994-2.patch
          7 kB
          Mark Hobson
        3. MNG-2994-3.patch
          13 kB
          Mark Hobson
        4. MNG-2994-core-it.patch
          2 kB
          Mark Hobson

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              markh Mark Hobson
              Votes:
              7 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: