Maven
  1. Maven
  2. MNG-4881

Problem resolving dependency range with SNAPSHOT

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Not A Problem
    • Affects Version/s: 3.0
    • Fix Version/s: None
    • Component/s: Dependencies
    • Labels:
      None

      Description

      In my pom I have this dependency:

      <dependency>
      <groupId>MyGroupId</groupId>
      <artifactId>MyArtifactId</artifactId>
      <version>[2.0.0-SNAPSHOT,)</version>
      </dependency>

      Why running maven I have:

      org.apache.maven.lifecycle.LifecycleExecutionException:
      Failed to execute goal on project rva-core:
      Couldn't find a version in [2.0.0-alpha-14, 2.0.0-alpha-15, 2.0.0-alpha-16]
      to match range [2.0.0-SNAPSHOT,) MyGroupId:MyArtifactId:jar:null

      Maybe 2.0.0-SNAPSHOT is greater then other version present on artifact repository?

        Issue Links

          Activity

          Raffaele Verre created issue -
          Benjamin Bentmann made changes -
          Field Original Value New Value
          Link This issue is related to MNG-2281 [ MNG-2281 ]
          Benjamin Bentmann made changes -
          Assignee Benjamin Bentmann [ bentmann ]
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Not A Bug [ 6 ]
          Raffaele Verre made changes -
          Status Closed [ 6 ] Reopened [ 4 ]
          Resolution Not A Bug [ 6 ]
          Benjamin Bentmann made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Not A Bug [ 6 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
          Mark Thomas made changes -
          Workflow jira [ 12715143 ] Default workflow, editable Closed status [ 12755698 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
          Mark Thomas made changes -
          Workflow jira [ 12952557 ] Default workflow, editable Closed status [ 12989903 ]

            People

            • Assignee:
              Benjamin Bentmann
              Reporter:
              Raffaele Verre
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development