Maven Assembly Plugin
  1. Maven Assembly Plugin
  2. MASSEMBLY-208

Assembly plugin does not resolve version ranges correctly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      XP Pro SP2

      Description

      Similar to MRELEASE-134 in maven-release-plugin

      <version>[1.1.0,)</version>

      This version range can resolve to the latest dev SNAPSHOT. The assembly plugin should ignore SNAPSHOTS as that is not intended by the unbounded high end of the version range.

      This document:
      http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution#DependencyMediationandConflictResolution-DependencyVersionRanges
      addressed the requirements for version ranges and stated that "Resolution of dependency ranges should not resolve to a snapshot (development version) unless it is included as an explicit boundary". I think this requirement was forgetten when version ranges were implemented.

        Issue Links

          Activity

          David Hoffer created issue -
          Hide
          Stephane Nicoll added a comment -

          please stop creating issues in the plugin projects for that. This is most probably a Maven core issue and you should use the MNG project.

          Show
          Stephane Nicoll added a comment - please stop creating issues in the plugin projects for that. This is most probably a Maven core issue and you should use the MNG project.
          Dave Hoffer made changes -
          Field Original Value New Value
          Link This issue relates to MNG-2978 [ MNG-2978 ]
          Hide
          John Casey added a comment -

          This is an issue with Maven in general. It belongs in the MNG project (I think I've already seen it there, so I'm closing this one.)

          Show
          John Casey added a comment - This is an issue with Maven in general. It belongs in the MNG project (I think I've already seen it there, so I'm closing this one.)
          John Casey made changes -
          Resolution Duplicate [ 3 ]
          Status Open [ 1 ] Closed [ 6 ]
          Fix Version/s 2.2-beta-2 [ 13507 ]
          Assignee John Casey [ jdcasey ]
          John Casey made changes -
          Fix Version/s 2.2-beta-2 [ 14027 ]
          Fix Version/s 2.2-beta-3 [ 13507 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 09:09:00 UTC 2015 [ 1428224940639 ]
          Mark Thomas made changes -
          Workflow jira [ 12717161 ] Default workflow, editable Closed status [ 12760883 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 22:33:31 UTC 2015 [ 1428273211083 ]
          Mark Thomas made changes -
          Workflow jira [ 12954397 ] Default workflow, editable Closed status [ 12991598 ]
          Michael Osipov made changes -
          Fix Version/s 2.2-beta-2 [ 12330347 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          105d 8h 1 John Casey 15/Aug/07 16:59

            People

            • Assignee:
              John Casey
              Reporter:
              David Hoffer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development