All Classes
Class
Description
The compound enforcer aggregates any combination of the available pedantic
enforcer rules.
Matches Maven
Dependency objects with DependencyModel objects.This enforcer makes sure that dependency versions and exclusions are declared in the
<dependencyManagement> section.This enforcer makes sure that elements in the <dependencyManagement> and <dependencies> sections are ordered.
Enforces that only a well-defined set of POMs may declare dependency management.
This enforcer makes sure that all artifacts in your dependency management are
ordered.
This enforcer makes sure that all artifacts in your dependencies section are
ordered.
Enforces that the configured dependencies have to be defined within a specific scope.
Each pedantic enforcer rule is identified by an ID.
This enforcer makes sure that your
modules section is sorted
alphabetically.Enforces that plugin versions, configurations and dependencies are defined in the
<pluginManagement> section.This enforcer makes sure that elements in the <pluginManagement> and <plugins> sections are ordered.
Enforces that only a well-defined set of POMs may declare plugin management.
This enforcer makes sure that all plugins in your plugin management section
are ordered.
This enforcer makes sure that the sections in your POM files are in a defined order.
Matches Maven
Plugin objects with PluginModel objects.Comparator that makes comparisons based on a priority collection.