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

Problem resolving dependency range with SNAPSHOT

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.0
    • None
    • Dependencies
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: