This project contains:
- SemVer - a class to parse and compare Semantic Version specification strings.
- JarVersions - finds all jars used by a ClassLoader.
- VersionExtractor - extracts metadata from maven built jars.
- VersionMatcher - is a version supported by one of the supplied versions.
- Minimum of Java 8
To include semver in your maven build, use the following fragment in your pom.
** Not yet released to Maven Central **
<build>
<dependencies>
<dependency>
<groupId>org.honton.chas.version</groupId>
<artifactId>semver</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
</build>