Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A Maven plugin for resolving a version range of an artifact to the highest matching version.

NotificationsYou must be signed in to change notification settings

subshell/resolver-maven-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A Maven plugin for resolving a version range of an artifact to the highest matching version.

For the version range format, seeGenericVersionScheme 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 propertylatestMavenModelVersion.

<plugin>    <groupId>com.subshell.maven</groupId>    <artifactId>resolver-maven-plugin</artifactId>    <configuration>        <groupId>org.apache.maven</groupId>        <artifactId>maven-model</artifactId>        <version>[3.1.0, 3.3.max]</version>        <property>latestMavenModelVersion</property>    </configuration>    <executions>        <execution>            <goals>                <goal>resolve-range</goal>            </goals>        </execution>    </executions></plugin>

System requirements

  • Maven 3.2.5
  • Java 7

Take a look at this project from thesubshell team. We makeSophora: a content management software for content creation, curation, and distribution.Join our team! |Imprint

About

A Maven plugin for resolving a version range of an artifact to the highest matching version.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp