mirror of https://github.com/renovatebot/renovate
17 lines
611 B
Markdown
17 lines
611 B
Markdown
Maven versioning is similar to SemVer but also very different in places.
|
|
It's specified by Maven itself.
|
|
|
|
Ranges are supported using Maven's special syntax.
|
|
|
|
For development purposes, download [maven-artifact JAR](https://mvnrepository.com/artifact/org.apache.maven/maven-artifact/3.8.4) and run:
|
|
|
|
```sh
|
|
$ java -jar maven-artifact-*.jar 3.2.4-alpha-1 3.2.4-SNAPSHOT 3.2.4.0
|
|
Display parameters as parsed by Maven (in canonical form) and comparison result:
|
|
1. 3.2.4-alpha-1 == 3.2.4.alpha.1
|
|
3.2.4-alpha-1 < 3.2.4-SNAPSHOT
|
|
2. 3.2.4-SNAPSHOT == 3.2.4.snapshot
|
|
3.2.4-SNAPSHOT < 3.2.4.0
|
|
3. 3.2.4.0 == 3.2.4
|
|
```
|