Clean POM Maven Plugin

Cleans the POM and other XML using on XSLT.

Лицензия

Лицензия

Категории

Категории

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

Группа

net.trajano.mojo
Идентификатор

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

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

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

1.2.2
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

Clean POM Maven Plugin
Cleans the POM and other XML using on XSLT.
Организация-разработчик

Организация-разработчик

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

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

https://github.com/trajano/cleanpom-maven-plugin

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

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

<plugin>
    <groupId>net.trajano.mojo</groupId>
    <artifactId>cleanpom-maven-plugin</artifactId>
    <version>1.2.2</version>
</plugin>

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 3.3.9
org.sonatype.plexus : plexus-build-api jar 0.0.7

provided (1)

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

test (4)

Идентификатор библиотеки Тип Версия
net.trajano.commons : commons-testing jar 1.0.1
org.apache.maven : maven-compat jar 3.3.9
org.apache.maven : maven-core jar 3.3.9
org.apache.maven.plugin-testing : maven-plugin-testing-harness jar 3.3.0

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

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

Clean POM Maven Plugin

Build Status Quality Gate

This will clean the Maven project descriptor, pom.xml file, based on an XSLT file. It is organized based on the rules specified in the following URLs:

In addition it will also reindent other XML files.

Along with a few common sense rules like

  • groupId should be before artifactId.

  • dependencies, plugins, extensions should also be ordered by scope, groupId, and artifactId.

As of version 1.2.0, the indention size is now using 2-space indents to follow the conventions used in SonarQube.com.

The clean goal will be bound to the verify phase of the project and will replace the pom.xml file. The typical usage is:

<plugin>
  <groupId>net.trajano.mojo</groupId>
  <artifactId>cleanpom-maven-plugin</artifactId>
  <executions>
    <execution>
      <goals>
        <goal>clean</goal>
      </goals>
    </execution>
  </executions>
</plugin>

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

Версия
1.2.2
1.2.1
1.2.0
1.1.1
1.1.0
1.0.6
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0