The maven Maven version order spec (
https://maven.apache.org/pom.html#Version_Order_Specification) indicates
that :
1-0-2 is equivalent to 1-2, so 1-0-2 = 1-2 > 1-1.
That doesn't make much sense to me.
I think the following line from the spec should be revised from:
Then, starting from the end of the version, the trailing "null" values (0,
"", "final", "ga") are trimmed.
To:
Then, starting from the end of the version string, all trailing "null"
qualifier tokens ("", "final", "ga") are trimmed. All trailing numeric 0
tokens that do not immediately follow a hyphen prefix (regardless of
whether the hyphen is explicit or implicit) are likewise trimmed.