Maven
  1. Maven
  2. MNG-2994

Snapshot repositories are not checked when using ranges

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.6
    • Fix Version/s: 3.0-beta-1
    • Labels:
      None
    • Environment:
      Windows XP, Cygwin
    • Flags:
      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.

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Benjamin Bentmann
              Reporter:
              Mark Hobson
            • Votes:
              7 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development