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. patch.txt
        6 kB
        Mark Hobson
      2. MNG-2994-core-it.patch
        2 kB
        Mark Hobson
      3. MNG-2994-3.patch
        13 kB
        Mark Hobson
      4. MNG-2994-2.patch
        7 kB
        Mark Hobson

        Issue Links

          Activity

          Mark Hobson created issue -
          Mark Hobson made changes -
          Field Original Value New Value
          Link This issue is related to MRELEASE-177 [ MRELEASE-177 ]
          Jason van Zyl made changes -
          Patch Submitted [Yes]
          Jason van Zyl made changes -
          Assignee Jason van Zyl [ jason ]
          Jason van Zyl made changes -
          Patch Submitted [Yes]
          Mark Hobson made changes -
          Attachment MNG-2994-2.patch [ 27835 ]
          Jason van Zyl made changes -
          Fix Version/s Reviewed [ 13555 ]
          Mark Hobson made changes -
          Link This issue depends upon MNG-3092 [ MNG-3092 ]
          Mark Hobson made changes -
          Attachment MNG-2994-3.patch [ 28284 ]
          Mark Hobson made changes -
          Attachment MNG-2994-core-it.patch [ 28285 ]
          Brett Porter made changes -
          Patch Submitted [Yes]
          Brian Fox made changes -
          Affects Version/s 2.0.10 [ 14112 ]
          Affects Version/s 2.0.6 [ 13010 ]
          Brian Fox made changes -
          Affects Version/s 2.0.6 [ 13010 ]
          Affects Version/s 2.0.10 [ 14112 ]
          Fix Version/s Reviewed Pending Version Assignment [ 13555 ]
          Fix Version/s 2.0.10 [ 14112 ]
          John Casey made changes -
          Fix Version/s 2.0.11 [ 14118 ]
          Fix Version/s 2.0.10 [ 14112 ]
          Geert Pante made changes -
          Link This issue is duplicated by MNG-2525 [ MNG-2525 ]
          Brett Porter made changes -
          Fix Version/s 2.0.11 [ 14118 ]
          Fix Version/s 2.2.1 [ 15328 ]
          John Casey made changes -
          Fix Version/s 2.2.1 [ 15328 ]
          Fix Version/s 2.2.2 [ 15472 ]
          stephenconnolly made changes -
          Link This issue is related to MNG-4295 [ MNG-4295 ]
          stephenconnolly made changes -
          Link This issue relates to MNG-3376 [ MNG-3376 ]
          Jason van Zyl made changes -
          Fix Version/s 2.2.2 [ 15472 ]
          Fix Version/s 3.0-alpha-7 [ 16087 ]
          Benjamin Bentmann made changes -
          Fix Version/s 3.0-alpha-7 [ 16087 ]
          Fix Version/s 3.0-alpha-8 [ 16088 ]
          Jason van Zyl made changes -
          Fix Version/s 3.0-beta-1 [ 16089 ]
          Fix Version/s 3.0-alpha-8 [ 16088 ]
          Benjamin Bentmann made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Assignee Jason van Zyl [ jason ] Benjamin Bentmann [ bentmann ]
          Benjamin Bentmann made changes -
          Link This issue is duplicated by MNG-4295 [ MNG-4295 ]
          Benjamin Bentmann made changes -
          Link This issue is related to MNG-4295 [ MNG-4295 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
          Mark Thomas made changes -
          Link This issue is related to MRELEASE-177 [ MRELEASE-177 ]
          Mark Thomas made changes -
          Workflow jira [ 12713504 ] Default workflow, editable Closed status [ 12755612 ]
          Mark Thomas made changes -
          Flags Patch [ 10430 ]
          Patch Submitted Yes [ 10763 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
          Mark Thomas made changes -
          Link This issue is related to MRELEASE-177 [ MRELEASE-177 ]
          Mark Thomas made changes -
          Workflow jira [ 12952982 ] Default workflow, editable Closed status [ 12990303 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development