[ http://jira.codehaus.org/browse/MNG-4681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-4681. ---------------------------------- Resolution: Not A Bug Assignee: Benjamin Bentmann In Maven 2.x, the version comparison consideres 1.0.0-alpha-12 < 1.0.0-alpha-9. This has been fixed in Maven 3.x. However, even in Maven 3.x the example project will not work because 1.0.0-alpha-12 < 1.0.0-SNAPSHOT (as per MNG-2281). > Version range resolution problem > -------------------------------- > > Key: MNG-4681 > URL: http://jira.codehaus.org/browse/MNG-4681 > Project: Maven 2 & 3 > Issue Type: Bug > Components: Artifacts and Repositories > Affects Versions: 2.0.9, 2.0.10, 2.0.11, 2.2.1 > Environment: Linux > Reporter: Raffaele Verre > Assignee: Benjamin Bentmann > > In my POM I've this dependency: > <dependency> > <groupid>GROUP</groupid> > <artifactId>ARTIFACT</artifactId> > <version>[1.0.0-SNAPSHOT,)</version> > </dependency> > On archiva I have version from 1.0.0-alpha-1 to 1.0.0-alpha-12. > When I try to resolve dependency, maven retrieve the alpha-9 and not the > alpha-12. -- 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