Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trajano/cleanpom-maven-plugin
https://github.com/trajano/cleanpom-maven-plugin
formatter java maven maven-plugin xml xslt
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/trajano/cleanpom-maven-plugin
- Owner: trajano
- License: epl-1.0
- Created: 2014-03-06T03:09:51.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-05-09T22:15:56.000Z (over 7 years ago)
- Last Synced: 2024-10-30T14:25:03.646Z (2 months ago)
- Topics: formatter, java, maven, maven-plugin, xml, xslt
- Language: Java
- Homepage: http://site.trajano.net/cleanpom-maven-plugin
- Size: 1.45 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Clean POM Maven Plugin
======================[![Build Status](https://travis-ci.org/trajano/cleanpom-maven-plugin.svg?branch=master)](https://travis-ci.org/trajano/cleanpom-maven-plugin) [![Quality Gate](https://sonarqube.com/api/badges/gate?key=net.trajano.mojo:cleanpom-maven-plugin)](https://sonarqube.com/dashboard?id=net.trajano.mojo:cleanpom-maven-plugin)
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:* http://maven.apache.org/developers/conventions/code.html
* http://maven.apache.org/ref/3.3.9/maven-model/maven.htmlIn 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](https://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:
net.trajano.mojo
cleanpom-maven-plugin
clean