[ 
https://issues.apache.org/jira/browse/MNG-8474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17912788#comment-17912788
 ] 

Guillaume Nodet commented on MNG-8474:
--------------------------------------

The official version for the new API is {{org.apache.maven.api.Version}}.
We should:
* port {{ComparableVersionTest}} to test the versions created by the 
{{org.apache.maven.internal.impl.DefaultVersionParser}}
* add some javadoc

However, this is currently pluggable if an extension provides a different of 
{{org.eclipse.aether.version.VersionScheme}}, so we can document the default 
behavior, but this is only a default behavior...

> 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
>            Priority: Major
>
> 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)

Reply via email to