https://github.com/subshell/resolver-maven-plugin
A Maven plugin for resolving a version range of an artifact to the highest matching version.
https://github.com/subshell/resolver-maven-plugin
Last synced: 5 months ago
JSON representation
A Maven plugin for resolving a version range of an artifact to the highest matching version.
- Host: GitHub
- URL: https://github.com/subshell/resolver-maven-plugin
- Owner: subshell
- Created: 2015-07-15T11:27:09.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2023-02-03T10:26:43.000Z (over 3 years ago)
- Last Synced: 2025-12-28T18:47:55.384Z (6 months ago)
- Language: Java
- Homepage:
- Size: 350 KB
- Stars: 1
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
Resolver Maven Plugin
=====================
A Maven plugin for resolving a version range of an artifact to the highest matching version.
For the version range format, see [GenericVersionScheme](https://github.com/eclipse/aether-core/blob/master/aether-util/src/main/java/org/eclipse/aether/util/version/GenericVersionScheme.java) from the Aether project.
Command-line example
------------------------
When using `-Dresolve.print -q`, the only output to the console will be the matching version number. This can be used for scripting.
mvn com.subshell.maven:resolver-maven-plugin:resolve-range \
-Dresolve.groupId=org.apache.maven -Dresolve.artifactId=maven-model \
"-Dresolve.versionRange=[3.1.0, 3.3.max]" \
-Dresolve.print -q
pom.xml example
---------------
This example writes the matching version number into the property `latestMavenModelVersion`.
com.subshell.maven
resolver-maven-plugin
org.apache.maven
maven-model
[3.1.0, 3.3.max]
latestMavenModelVersion
resolve-range
System requirements
-------------------
* Maven 3.2.5
* Java 7
* * *
Take a look at this project from the [subshell](https://subshell.com) team. We make [Sophora](https://subshell.com/sophora/): a content management software for content creation, curation, and distribution. [Join our team!](https://subshell.com/jobs/) | [Imprint](https://subshell.com/about/imprint/)