All Classes and Interfaces
Class
Description
Base EnforcerLogger implementation
Entry point for custom
Enforcer Rule
.Entry point for custom
Enforcer Rule
which provide additional rules configuration.Abstract help rule.
Always fail.
Always pass.
This class is used for matching Artifacts against a list of patterns.
This rule bans all scope values except for
import
from dependencies within the dependency management.This rule will check if a pom contains a
distributionManagement
part.Since Maven 3 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique.
This rule bans dependencies having a version which requires resolution (i.e.
This rule checks that lists of dependencies are not included.
This rule checks that lists of plugins are not included.
This rule checks that this project's maven session whether have banned repositories.
This rule bans all transitive dependencies.
Default implementation of the EnforcementRuleHelper interface.
Deprecated.
Extends every MavenProject with the maven-enforcer-plugin, adding executions as defined in
.mvn/enforcer-extension.xml
This goal executes the defined enforcer-rules once per module.
Levels steering whether a rule should fail a build or just display a warning.
Logger used by enforcer rule.
EnforcerLogger implementation for
ERROR
execution levelEnforcerLogger implementation for
WARN
execution levelDeprecated.
Please see
Writing a custom rule
Deprecated.
Please see
Writing a custom rule
Base interface for old and new API.
Service for manage rules cache storage.
Description of rule to execute.
An error occurring during the execution of a rule.
An exception occurring during the execution of a rule.
Deprecated.
Please see
Writing a custom rule
Manage enforcer rules.
Problems reported by EnforcerRuleManager.
The Class EnforcerRuleUtils.
Rule for Maven Enforcer using Beanshell to evaluate a conditional expression.
A configured
ExpressionEvaluator
used by rules.An enforcer rule that will provide rules configuration from an external resource.
Display help information on maven-enforcer-plugin.
Call
Call
mvn enforcer:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details.Common os utility.
Provides the information about
DependencyNode
parent nodesA
DependencyVisitor
building a map of parent nodesThis rule will check if a multi module build will follow the best practices.
This rule checks that some profiles are active.
This rule checks that certain environment variable is set.
Checks that all dependencies have an explicitly declared scope in the non-effective pom (i.e.
Rule to validate a binary file to match the specified checksum.
The Class RequireFilesDontExist.
The Class RequireFilesExist.
Rule to validate the main artifact is within certain size constraints.
This rule checks that the Java vendor is allowed.
This rule checks that the Java version is allowed.
This rule checks that the Maven coordinates (i.e.
This rule checks that the Maven version is allowed.
This rule checks that this pom or its parents don't define a repository.
This rule checks that the OS is allowed by combinations of family, name, version and cpu architecture.
This rule will enforce that all plugins specified in the poms have a version declared.
Ensure that all profiles mentioned on the commandline do exist.
This rule checks that certain properties are set.
This rule checks that no snapshots are included.
This rule checks that the current project is not a snapshot.
This rule checks that the current project is not a release.
Rule to validate a text file to match the specified checksum.
Rule to enforce that the resolved dependency is also the most recent one of all transitive dependencies.
mvn --version