[ http://jira.codehaus.org/browse/MNG-4881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raffaele Verre reopened MNG-4881: --------------------------------- maven2 works differently than maven3? Maven2 resolve the dipendency without problems with the last alpha > Problem resolving dependency range with SNAPSHOT > ------------------------------------------------ > > Key: MNG-4881 > URL: http://jira.codehaus.org/browse/MNG-4881 > Project: Maven 2 & 3 > Issue Type: Bug > Components: Dependencies > Affects Versions: 3.0 > Reporter: Raffaele Verre > Assignee: Benjamin Bentmann > > 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? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira