Resolver Maven Plugin

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

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка
Группа

Группа

io.confluent
Идентификатор

Идентификатор

resolver-maven-plugin
Последняя версия

Последняя версия

0.6.0
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

Resolver Maven Plugin
A Maven plugin for resolving a version range of an artifact to the highest matching version.
Ссылка на сайт

Ссылка на сайт

https://github.com/confluentinc/resolver-maven-plugin
Система контроля версий

Система контроля версий

http://github.com/confluentinc/resolver-maven-plugin

Скачать resolver-maven-plugin

Как подключить последнюю версию

<plugin>
    <groupId>io.confluent</groupId>
    <artifactId>resolver-maven-plugin</artifactId>
    <version>0.6.0</version>
</plugin>

Зависимости

compile (6)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-model jar 3.2.5
org.apache.maven : maven-core jar 3.2.5
org.apache.maven : maven-plugin-api jar 3.2.5
org.apache.maven : maven-artifact jar 3.2.5
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.4
org.codehaus.mojo : versions-maven-plugin maven-plugin 2.7

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.13

Модули Проекта

Данный проект не имеет модулей.

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 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.

<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>

Manual release

  1. Use mvn release:prepare to cut new version tags
  2. Create branch based on version tag
  3. Use release parameter to release to maven central

System requirements

  • Maven 3.2.5
  • Java 7
io.confluent

Confluent Inc.

Real-time streams powered by Apache Kafka®

Версии библиотеки

Версия
0.6.0
0.5.0