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

version ranges can include snapshots

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.4, 2.0.5, 2.0.6, 2.0.7
    • None
    • None
    • None

    Description

      <version>[1.1.0,)</version>
      

      This version range can resolve to the latest dev SNAPSHOT which causes the release plugin to fail due to a SNAPSHOT dependency. The release plugin should check that the original version specification includes a non-SNAPSHOT version (1.1.0) and so can be released without harm.

      Attachments

        Issue Links

          Activity

            johna John Andrunas made changes -
            Admin-Comment-Bulk Update Author [ markh#1 ] [ Mark Hobson ]
            johna John Andrunas made changes -
            Admin-Comment-Bulk Update Author [ Mark Hobson ] [ Mark Hobson ]
            markt Mark Thomas made changes -
            Workflow jira [ 12950007 ] Default workflow, editable Closed status [ 12986221 ]
            markt Mark Thomas made changes -
            Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
            markt Mark Thomas made changes -
            Workflow jira [ 12713021 ] Default workflow, editable Closed status [ 12752854 ]
            markt Mark Thomas made changes -
            Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
            markh Mark Hobson made changes -
            Link This issue duplicates MNG-3092 [ MNG-3092 ]
            markh Mark Hobson made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Closed [ 6 ]
            brianfox brianfox made changes -
            Summary Release prepare fails with version ranges version ranges can include snapshots
            brianfox brianfox made changes -
            Key MRELEASE-134 MNG-3109
            Project Maven 2.x Release Plugin [ 11144 ] Maven 2 [ 10500 ]
            Affects Version/s 2.0.7 [ 13138 ]
            Affects Version/s 2.0.4 [ 12527 ]
            Affects Version/s 2.0.5 [ 12294 ]
            Affects Version/s 2.0-beta-4 [ 12367 ]
            Affects Version/s 2.0.6 [ 13010 ]
            dhoffer Dave Hoffer made changes -
            Field Original Value New Value
            Link This issue relates to MNG-2978 [ MNG-2978 ]
            mperham Mike Perham created issue -

            People

              Unassigned Unassigned
              mperham Mike Perham
              Votes:
              10 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: