Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: 2.0.9, 2.0.10, 2.0.11, 2.2.1
-
Fix Version/s: None
-
Component/s: Artifacts and Repositories
-
Labels:None
-
Environment:Linux
-
Complexity:Intermediate
-
Number of attachments :
Description
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.
Issue Links
- is related to
-
MNG-2281
1.0-beta-3 should be < 1.0-SNAPSHOT
-
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).