Maven Reactor Plugin

Plugin to work with the maven reactor

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка React Взаимодействие с пользователем Веб-фреймворки Reactor Контейнер Микросервисы Reactive libraries
Группа

Группа

com.starlingbank
Идентификатор

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

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

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

1.1
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

Maven Reactor Plugin
Plugin to work with the maven reactor
Ссылка на сайт

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

http://www.starlingbank.com/
Система контроля версий

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

https://github.com/starlingbank/reactor-maven-plugin

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

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

<plugin>
    <groupId>com.starlingbank</groupId>
    <artifactId>reactor-maven-plugin</artifactId>
    <version>1.1</version>
</plugin>

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-core jar 3.6.3

provided (2)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 3.6.3
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.6.0

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

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

Maven Reactor Plugin

This is a Maven plugin which can be used to dump the details of the Maven reactor.

Installation

Add the following to your root pom.xml:

<plugins>
  ...
  <plugin>
    <groupId>com.starlingbank</groupId>
    <artifactId>reactor-maven-plugin</artifactId>
    <version>1.0</version>
  </plugin>
  ...
</plugins>

Dumper

It is occasionally useful to be able to get some information about the order in which Maven will process modules in a multi-module build. This plugin will dump one of the following to STDOUT:

  • Flat List: a list of artifact IDs in the order they are processed in the reactor (first to last)
  • Upstream: the same as the flat list but with the addition of information of the projects that the given project depends on
  • Downstream: the same as Upstream but listing the projects that depend on the specified project

Configuration

  • direction: the direction to trace dependencies; either up, down or flat (default: flat)
  • format: the format of the output; either text or dot (default: text)
  • transitive: whether to include all transitive dependencies; either true or false (default: false)

Examples

Dump the reactor list with default options (no dependencies as a text list to STDOUT):

mvn -q reactor:dump 

Dump the reactor list in DOT format to STDOUT:

mvn -q reactor:dump -Ddirection=down -Dformat=dot

Dump the reactor list in DOT format, showing upstream dependencies to STDOUT:

mvn -q reactor:dump -Ddirection=up -Dformat=dot

Building from source

Clone the repository:

git clone git@github.com:starlingbank/reactor-maven-plugin.git

Install to your local m2 repository (you can then use the x.y-SNAPSHOT version locally):

mvn clean install

Commits to this project will automatically be staged in maven central as snapshots. We use Github Actions to do this (see .github/workflows/package.yml and .github/workflows.release.yml).

To release to production, push to the origin to the release branch:

git push origin main:release

The maven release plugin will then stage and deploy a new versioned release, tagging the git repo with the version of the release.

You should then either rebase onto main or merge the changes, deleting the original release branch in the process.

com.starlingbank

Starling Bank

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

Версия
1.1
1.0