Fix Maven Central packaging issues
Unlike JCenter, Maven Central requires a <name>
tag in the POM. The Sonatype upload tool gets confused by artifacts called *-release.jar
, but the versioning rules should treat 0.0.12
as higher than 0.0.12-dev-40245c4a
:
All versions with a qualifier are older than the same version without a qualifier (release version).
For example:
1.2-beta-2 is older than 1.2.
https://docs.oracle.com/middleware/1212/core/MAVEN/maven_version.htm#MAVEN400