You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2024/12/28 21:01:00 UTC
[jira] [Created] (MNG-8474) ComparableVersion doesn't specify well-known qualfiier order
Elliotte Rusty Harold created MNG-8474:
------------------------------------------
Summary: ComparableVersion doesn't specify well-known qualfiier order
Key: MNG-8474
URL: https://issues.apache.org/jira/browse/MNG-8474
Project: Maven
Issue Type: Improvement
Reporter: Elliotte Rusty Harold
The Javadoc says:
strings are checked for well-known qualifiers and the qualifier ordering is used for version ordering. Well-known qualifiers (case insensitive) are:
alpha or a
beta or b
milestone or m
rc or cr
snapshot
(the empty string) or ga or final
sp
However it never says twhether alpha comes before or after beta, and so forth. That is, the qualifier ordering is undefined. See
https://maven.apache.org/ref/3.9.9/maven-artifact/apidocs/org/apache/maven/artifact/versioning/ComparableVersion.html
--
This message was sent by Atlassian Jira
(v8.20.10#820010)