Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
Feature Model 1.2.4
-
None
Description
The current implementation of ArtifactId.compareTo is doing a string compare - which works for most of the parts of the id, except for version. With a string compare, for example "1.7" is regarded higher than "1.11" (as 7 is higher than 1)
The compareTo method must take the version into account and do a proper compare based on the version