Skip to content

piomar123/pompon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pompon-maven-plugin

Maven Central Build Status

POM Put in Order Nicely Maven Plugin

A Maven plugin for keeping an order of project POM files. Currently, it enforces the alphabetical order of properties, dependencies and plugins. In case of violation, it shows expected order including exact locations. Each section can be divided into sub-sections by adding a comment between entries. This way, it's possible to prioritize selected dependencies/properties when they are more important (changing dependencies order can change resulting versions in Maven dependency race).

Usage

Inline checking with the latest plugin version: mvn me.piomar:pompon-maven-plugin:check

Embedding in the project:

<plugin>
    <groupId>me.piomar</groupId>
    <artifactId>pompon-maven-plugin</artifactId>
    <version>${version}</version>
    <executions>
        <execution>
            <id>check-order</id>
            <goals>
                <goal>check</goal>
            </goals>
        </execution>
    </executions>
</plugin>

About

POM Put in Order Nicely Maven Plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages