[MNG-8474] ComparableVersion doesn't specify well-known qualfiier order
- Dominant language
- Java
- Stars
- 5.3k
- Forks
- 3.1k
- Avg merge
- 20h 42m
- Merged PRs (30d)
- 297
Description
**[Elliotte Rusty Harold](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=elharo)** opened **[MNG-8474](https://issues.apache.org/jira/browse/MNG-8474?redirect=false)** and commented
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
---
No further details from [MNG-8474](https://issues.apache.org/jira/browse/MNG-8474?redirect=false)
Contributor guide
Research direction
Start by locating org.apache.maven.artifact.versioning.ComparableVersion and reading the existing Javadoc around its well-known qualifiers. Document the qualifier order explicitly, with wording consistent with the behavior described by the class; the issue is done when the relative order is unambiguous.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100