Code copied from https://github.com/apache/maven/blob/master/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
See https://tim-pizey.blogspot.com/2023/11/unique-versions-as-pitons-out-of-maven.html, https://tim-pizey.blogspot.com/2024/01/maven-version-schema-change.html, and https://tim-pizey.blogspot.com/2024/01/maven-version-versions-and-regex-block.html
This repository was intended to show that a proposed versioning scheme would work, it shows that that proposal does not work, nor the next and finally shows that the only versioning schema that works is digits and fullstops.