Maven Project Descriptor

The Maven project descriptor is formatted according to the rules specified in the following URLs.

Along with a few common sense rules like groupId should be before artifactId.

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

scope is ordered as compile > test > runtime > provided.

An XSLT is provided to clean up the pom.xml file and is automatically performed by the Clean POM Maven Plugin.