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

Problem resolving dependency range with SNAPSHOT

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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?

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: