Package org.apache.maven.plugins.enforcer
package org.apache.maven.plugins.enforcer
-
ClassesClassDescriptionAbstract Rule for banning dependencies.The Class AbstractNonCacheableEnforcerRule.Abstract enforcer rule that give a foundation to validate properties from multiple sources.Contains the common code to compare an array of files against a requirement.The Class AbstractStandardEnforcerRule.Contains the common code to compare a version against a version range.Always fail.Always pass.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 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.This goal displays the current platform information.This goal executes the defined enforcer-rules once per module.The Class EnforcerExpressionEvaluator.This 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.Rule to validate a 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 version is allowed.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 enforce that the resolved dependency is also the most recent one of all transitive dependencies.