Registry / utility / java-semver

java-semver

JSON →
library0.10.2javamavenunverified

Java implementation of the Semantic Versioning specification for parsing, comparing, and validating version strings.

<dependency> <groupId>com.github.zafarkhaja</groupId> <artifactId>java-semver</artifactId> <version>0.10.2</version> </dependency>
INSTALL
IMPORT
SIG · JAVA-SEMVER
J
java-semver
utilityjavav0.10.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Version
com.github.zafarkhaja.java.semver.Version

Parse and compare semantic versions

import com.github.zafarkhaja.java.semver.Version; Version v1 = Version.valueOf("1.2.3"); Version v2 = Version.valueOf("2.0.0"); System.out.println(v1.compareTo(v2));
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.10.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Perplexity
1
Resources
java-semver — mvn dependency:get java-semver · libregistry