Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractEnforcerLogger - Class in org.apache.maven.plugins.enforcer.internal
-
Base EnforcerLogger implementation
- AbstractEnforcerLogger(Log) - Constructor for class org.apache.maven.plugins.enforcer.internal.AbstractEnforcerLogger
- AbstractEnforcerRule - Class in org.apache.maven.enforcer.rule.api
-
Entry point for custom
Enforcer Rule
. - AbstractEnforcerRule() - Constructor for class org.apache.maven.enforcer.rule.api.AbstractEnforcerRule
- AbstractEnforcerRuleConfigProvider - Class in org.apache.maven.enforcer.rule.api
-
Entry point for custom
Enforcer Rule
which provide additional rules configuration. - AbstractEnforcerRuleConfigProvider() - Constructor for class org.apache.maven.enforcer.rule.api.AbstractEnforcerRuleConfigProvider
- AbstractStandardEnforcerRule - Class in org.apache.maven.enforcer.rules
-
Abstract help rule.
- AbstractStandardEnforcerRule() - Constructor for class org.apache.maven.enforcer.rules.AbstractStandardEnforcerRule
- addAdditionalPlugins(Set<Plugin>, List<String>) - Method in class org.apache.maven.enforcer.rules.RequirePluginVersions
-
Add the additional plugins if they don't exist yet.
- addAll(List<? extends InputLocationTracker>, boolean) - Static method in class org.apache.maven.enforcer.rules.utils.PluginWrapper
- afterProjectsRead(MavenSession) - Method in class org.apache.maven.extensions.enforcer.EnforceExtension
- alignToBaseDirectory(File) - Method in class org.apache.maven.plugins.enforcer.internal.DefaultEnforcementRuleHelper
- allParamsEmpty() - Method in class org.apache.maven.enforcer.rules.RequireOS
-
Helper method to check that at least one of family, name, version or arch is set.
- AlwaysFail - Class in org.apache.maven.enforcer.rules
-
Always fail.
- AlwaysFail() - Constructor for class org.apache.maven.enforcer.rules.AlwaysFail
- AlwaysPass - Class in org.apache.maven.enforcer.rules
-
Always pass.
- AlwaysPass() - Constructor for class org.apache.maven.enforcer.rules.AlwaysPass
- ArtifactMatcher - Class in org.apache.maven.enforcer.rules.utils
-
This class is used for matching Artifacts against a list of patterns.
- ArtifactMatcher(Collection<String>, Collection<String>) - Constructor for class org.apache.maven.enforcer.rules.utils.ArtifactMatcher
-
Construct class by providing patterns as strings.
- ArtifactMatcher.Pattern - Class in org.apache.maven.enforcer.rules.utils
- ArtifactUtils - Class in org.apache.maven.enforcer.rules.utils
- ArtifactUtils() - Constructor for class org.apache.maven.enforcer.rules.utils.ArtifactUtils
B
- BanDependencyManagementScope - Class in org.apache.maven.enforcer.rules
-
This rule bans all scope values except for
import
from dependencies within the dependency management. - BanDependencyManagementScope(MavenProject) - Constructor for class org.apache.maven.enforcer.rules.BanDependencyManagementScope
- BanDistributionManagement - Class in org.apache.maven.enforcer.rules
-
This rule will check if a pom contains a
distributionManagement
part. - BanDistributionManagement(MavenProject) - Constructor for class org.apache.maven.enforcer.rules.BanDistributionManagement
- BanDuplicatePomDependencyVersions - Class in org.apache.maven.enforcer.rules
-
Since Maven 3 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique.
- BanDuplicatePomDependencyVersions(MavenProject) - Constructor for class org.apache.maven.enforcer.rules.BanDuplicatePomDependencyVersions
- BanDynamicVersions - Class in org.apache.maven.enforcer.rules.dependency
-
This rule bans dependencies having a version which requires resolution (i.e.
- BanDynamicVersions(MavenProject, RepositorySystem, MavenSession, ResolverUtil) - Constructor for class org.apache.maven.enforcer.rules.dependency.BanDynamicVersions
- BannedDependencies - Class in org.apache.maven.enforcer.rules.dependency
-
This rule checks that lists of dependencies are not included.
- BannedPlugins - Class in org.apache.maven.enforcer.rules
-
This rule checks that lists of plugins are not included.
- BannedPlugins(MavenSession) - Constructor for class org.apache.maven.enforcer.rules.BannedPlugins
- BannedRepositories - Class in org.apache.maven.enforcer.rules
-
This rule checks that this project's maven session whether have banned repositories.
- BannedRepositories(MavenProject) - Constructor for class org.apache.maven.enforcer.rules.BannedRepositories
- BanTransitiveDependencies - Class in org.apache.maven.enforcer.rules.dependency
-
This rule bans all transitive dependencies.
- BanTransitiveDependencies(MavenSession, ResolverUtil) - Constructor for class org.apache.maven.enforcer.rules.dependency.BanTransitiveDependencies
C
- cache - Static variable in class org.apache.maven.plugins.enforcer.EnforceMojo
-
This is a static variable used to persist the cached results across plugin invocations.
- calculateChecksum() - Method in class org.apache.maven.enforcer.rules.checksum.RequireFileChecksum
- calculateChecksum() - Method in class org.apache.maven.enforcer.rules.checksum.RequireTextFileChecksum
- calculateChecksum(InputStream) - Method in class org.apache.maven.enforcer.rules.checksum.RequireFileChecksum
- cleanup() - Method in class org.apache.maven.plugins.enforcer.internal.EnforcerRuleCache
- combineUncheckedPlugins(Collection<String>, String) - Method in class org.apache.maven.enforcer.rules.RequirePluginVersions
-
Combines the old Collection with the new comma separated list.
- compareDependency(String, Artifact) - Static method in class org.apache.maven.enforcer.rules.utils.ArtifactUtils
-
Compares the given pattern against the given artifact.
- containsVersion(VersionRange, ArtifactVersion) - Static method in class org.apache.maven.enforcer.rules.utils.ArtifactMatcher
-
Copied from Artifact.VersionRange.
- createRules(PlexusConfiguration, Log) - Method in class org.apache.maven.plugins.enforcer.internal.EnforcerRuleManager
-
Create enforcer rules based on xml configuration.
D
- debug(CharSequence) - Method in interface org.apache.maven.enforcer.rule.api.EnforcerLogger
-
Log message in
debug
level. - debug(CharSequence) - Method in class org.apache.maven.plugins.enforcer.internal.AbstractEnforcerLogger
- debug(Supplier<CharSequence>) - Method in interface org.apache.maven.enforcer.rule.api.EnforcerLogger
-
Log message in
debug
level. - debug(Supplier<CharSequence>) - Method in class org.apache.maven.plugins.enforcer.internal.AbstractEnforcerLogger
- DefaultEnforcementRuleHelper - Class in org.apache.maven.plugins.enforcer.internal
-
Default implementation of the EnforcementRuleHelper interface.
- DefaultEnforcementRuleHelper(MavenSession, ExpressionEvaluator, Log, PlexusContainer) - Constructor for class org.apache.maven.plugins.enforcer.internal.DefaultEnforcementRuleHelper
-
Instantiates a new default enforcement rule helper.
- DependencyConvergence - Class in org.apache.maven.enforcer.rules.dependency
- DependencyConvergence(ResolverUtil) - Constructor for class org.apache.maven.enforcer.rules.dependency.DependencyConvergence
- DisplayInfoMojo - Class in org.apache.maven.plugins.enforcer
-
Deprecated.
- DisplayInfoMojo() - Constructor for class org.apache.maven.plugins.enforcer.DisplayInfoMojo
-
Deprecated.
E
- EnforceExtension - Class in org.apache.maven.extensions.enforcer
-
Extends every MavenProject with the maven-enforcer-plugin, adding executions as defined in
.mvn/enforcer-extension.xml
- EnforceExtension() - Constructor for class org.apache.maven.extensions.enforcer.EnforceExtension
- EnforceMojo - Class in org.apache.maven.plugins.enforcer
-
This goal executes the defined enforcer-rules once per module.
- EnforceMojo() - Constructor for class org.apache.maven.plugins.enforcer.EnforceMojo
- EnforcerLevel - Enum in org.apache.maven.enforcer.rule.api
-
Levels steering whether a rule should fail a build or just display a warning.
- EnforcerLogger - Interface in org.apache.maven.enforcer.rule.api
-
Logger used by enforcer rule.
- EnforcerLoggerError - Class in org.apache.maven.plugins.enforcer.internal
-
EnforcerLogger implementation for
ERROR
execution level - EnforcerLoggerError(Log) - Constructor for class org.apache.maven.plugins.enforcer.internal.EnforcerLoggerError
- EnforcerLoggerWarn - Class in org.apache.maven.plugins.enforcer.internal
-
EnforcerLogger implementation for
WARN
execution level - EnforcerLoggerWarn(Log) - Constructor for class org.apache.maven.plugins.enforcer.internal.EnforcerLoggerWarn
- EnforcerRule - Interface in org.apache.maven.enforcer.rule.api
-
Deprecated.Please see Writing a custom rule
- EnforcerRule2 - Interface in org.apache.maven.enforcer.rule.api
-
Deprecated.Please see Writing a custom rule
- EnforcerRuleBase - Interface in org.apache.maven.enforcer.rule.api
-
Base interface for old and new API.
- EnforcerRuleCache - Class in org.apache.maven.plugins.enforcer.internal
-
Service for manage rules cache storage.
- EnforcerRuleCache() - Constructor for class org.apache.maven.plugins.enforcer.internal.EnforcerRuleCache
- EnforcerRuleDesc - Class in org.apache.maven.plugins.enforcer.internal
-
Description of rule to execute.
- EnforcerRuleDesc(String, EnforcerRuleBase) - Constructor for class org.apache.maven.plugins.enforcer.internal.EnforcerRuleDesc
-
Create a new Rule Description
- EnforcerRuleError - Exception Class in org.apache.maven.enforcer.rule.api
-
An error occurring during the execution of a rule.
- EnforcerRuleError(String) - Constructor for exception class org.apache.maven.enforcer.rule.api.EnforcerRuleError
- EnforcerRuleError(String, Throwable) - Constructor for exception class org.apache.maven.enforcer.rule.api.EnforcerRuleError
- EnforcerRuleError(Throwable) - Constructor for exception class org.apache.maven.enforcer.rule.api.EnforcerRuleError
- EnforcerRuleException - Exception Class in org.apache.maven.enforcer.rule.api
-
An exception occurring during the execution of a rule.
- EnforcerRuleException(Object, String, String) - Constructor for exception class org.apache.maven.enforcer.rule.api.EnforcerRuleException
-
Deprecated.
source
andlongMessage
are not used - EnforcerRuleException(String) - Constructor for exception class org.apache.maven.enforcer.rule.api.EnforcerRuleException
-
Construct a new
EnforcerRuleException
exception providing amessage
. - EnforcerRuleException(String, Exception) - Constructor for exception class org.apache.maven.enforcer.rule.api.EnforcerRuleException
-
Construct a new
EnforcerRuleException
exception wrapping an underlyingException
and providing amessage
. - EnforcerRuleException(String, Throwable) - Constructor for exception class org.apache.maven.enforcer.rule.api.EnforcerRuleException
-
Construct a new
EnforcerRuleException
exception wrapping an underlyingThrowable
and providing amessage
. - EnforcerRuleException(Throwable) - Constructor for exception class org.apache.maven.enforcer.rule.api.EnforcerRuleException
-
Construct a new
EnforcerRuleException
exception wrapping an underlyingThrowable
. - EnforcerRuleHelper - Interface in org.apache.maven.enforcer.rule.api
-
Deprecated.Please see Writing a custom rule
- EnforcerRuleManager - Class in org.apache.maven.plugins.enforcer.internal
-
Manage enforcer rules.
- EnforcerRuleManager(Provider<MavenSession>, Provider<MojoExecution>, ComponentConfigurator, PlexusContainer) - Constructor for class org.apache.maven.plugins.enforcer.internal.EnforcerRuleManager
- EnforcerRuleManagerException - Exception Class in org.apache.maven.plugins.enforcer.internal
-
Problems reported by EnforcerRuleManager.
- EnforcerRuleManagerException(String, Throwable) - Constructor for exception class org.apache.maven.plugins.enforcer.internal.EnforcerRuleManagerException
- EnforcerRuleManagerException(Throwable) - Constructor for exception class org.apache.maven.plugins.enforcer.internal.EnforcerRuleManagerException
- EnforcerRuleUtils - Class in org.apache.maven.enforcer.rules.utils
-
The Class EnforcerRuleUtils.
- EnforcerRuleUtils(ExpressionEvaluator) - Constructor for class org.apache.maven.enforcer.rules.utils.EnforcerRuleUtils
-
Instantiates a new enforcer rule utils.
- enforceVersion(String, String, ArtifactVersion) - Method in class org.apache.maven.enforcer.rules.version.RequireJavaVersion
-
Compares the specified version to see if it is allowed by the defined version range.
- enforceVersion(String, String, ArtifactVersion) - Method in class org.apache.maven.enforcer.rules.version.RequireMavenVersion
-
Compares the specified version to see if it is allowed by the defined version range.
- error(CharSequence) - Method in interface org.apache.maven.enforcer.rule.api.EnforcerLogger
-
Log message in
error
level. - error(CharSequence) - Method in class org.apache.maven.plugins.enforcer.internal.AbstractEnforcerLogger
- error(Supplier<CharSequence>) - Method in interface org.apache.maven.enforcer.rule.api.EnforcerLogger
-
Log message in
error
level. - error(Supplier<CharSequence>) - Method in class org.apache.maven.plugins.enforcer.internal.AbstractEnforcerLogger
- ERROR - Enum constant in enum org.apache.maven.enforcer.rule.api.EnforcerLevel
-
Fail the build.
- evaluate(String) - Method in class org.apache.maven.plugins.enforcer.internal.DefaultEnforcementRuleHelper
- EvaluateBeanshell - Class in org.apache.maven.enforcer.rules
-
Rule for Maven Enforcer using Beanshell to evaluate a conditional expression.
- EvaluateBeanshell(ExpressionEvaluator) - Constructor for class org.apache.maven.enforcer.rules.EvaluateBeanshell
- execute() - Method in class org.apache.maven.enforcer.rule.api.AbstractEnforcerRule
-
This is the interface into the rule.
- execute() - Method in class org.apache.maven.enforcer.rules.AlwaysFail
- execute() - Method in class org.apache.maven.enforcer.rules.AlwaysPass
- execute() - Method in class org.apache.maven.enforcer.rules.BanDependencyManagementScope
- execute() - Method in class org.apache.maven.enforcer.rules.BanDistributionManagement
- execute() - Method in class org.apache.maven.enforcer.rules.BanDuplicatePomDependencyVersions
- execute() - Method in class org.apache.maven.enforcer.rules.BannedPlugins
- execute() - Method in class org.apache.maven.enforcer.rules.BannedRepositories
- execute() - Method in class org.apache.maven.enforcer.rules.checksum.RequireFileChecksum
- execute() - Method in class org.apache.maven.enforcer.rules.checksum.RequireTextFileChecksum
- execute() - Method in class org.apache.maven.enforcer.rules.dependency.BanDynamicVersions
- execute() - Method in class org.apache.maven.enforcer.rules.dependency.BannedDependencies
- execute() - Method in class org.apache.maven.enforcer.rules.dependency.BanTransitiveDependencies
- execute() - Method in class org.apache.maven.enforcer.rules.dependency.DependencyConvergence
- execute() - Method in class org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps
- execute() - Method in class org.apache.maven.enforcer.rules.dependency.RequireUpperBoundDeps
- execute() - Method in class org.apache.maven.enforcer.rules.EvaluateBeanshell
- execute() - Method in class org.apache.maven.enforcer.rules.files.RequireFilesDontExist
- execute() - Method in class org.apache.maven.enforcer.rules.files.RequireFilesExist
- execute() - Method in class org.apache.maven.enforcer.rules.files.RequireFilesSize
- execute() - Method in class org.apache.maven.enforcer.rules.property.RequireEnvironmentVariable
- execute() - Method in class org.apache.maven.enforcer.rules.property.RequireProperty
- execute() - Method in class org.apache.maven.enforcer.rules.ReactorModuleConvergence
- execute() - Method in class org.apache.maven.enforcer.rules.RequireActiveProfile
- execute() - Method in class org.apache.maven.enforcer.rules.RequireExplicitDependencyScope
- execute() - Method in class org.apache.maven.enforcer.rules.RequireJavaVendor
- execute() - Method in class org.apache.maven.enforcer.rules.RequireMatchingCoordinates
- execute() - Method in class org.apache.maven.enforcer.rules.RequireNoRepositories
- execute() - Method in class org.apache.maven.enforcer.rules.RequireOS
- execute() - Method in class org.apache.maven.enforcer.rules.RequirePluginVersions
- execute() - Method in class org.apache.maven.enforcer.rules.RequirePrerequisite
- execute() - Method in class org.apache.maven.enforcer.rules.RequireProfileIdsExist
- execute() - Method in class org.apache.maven.enforcer.rules.RequireReleaseVersion
- execute() - Method in class org.apache.maven.enforcer.rules.RequireSameVersions
- execute() - Method in class org.apache.maven.enforcer.rules.RequireSnapshotVersion
- execute() - Method in class org.apache.maven.enforcer.rules.version.RequireJavaVersion
- execute() - Method in class org.apache.maven.enforcer.rules.version.RequireMavenVersion
- execute() - Method in class org.apache.maven.plugins.enforcer.DisplayInfoMojo
-
Deprecated.Entry point to the mojo
- execute() - Method in class org.apache.maven.plugins.enforcer.EnforceMojo
- execute() - Method in class org.apache.maven.plugins.maven_enforcer_plugin.HelpMojo
- execute(EnforcerRuleHelper) - Method in interface org.apache.maven.enforcer.rule.api.EnforcerRule
-
Deprecated.This is the interface into the rule.
- ExpressionEvaluator - Class in org.apache.maven.enforcer.rules.utils
-
A configured
ExpressionEvaluator
used by rules. - ExpressionEvaluator(MavenSession, MojoExecution) - Constructor for class org.apache.maven.enforcer.rules.utils.ExpressionEvaluator
- ExternalRules - Class in org.apache.maven.enforcer.rules
-
An enforcer rule that will provide rules configuration from an external resource.
- ExternalRules(MojoExecution, ExpressionEvaluator) - Constructor for class org.apache.maven.enforcer.rules.ExternalRules
F
- filterDependencyArtifacts(Set<Artifact>, Collection<String>) - Static method in class org.apache.maven.enforcer.rules.utils.ArtifactUtils
-
Returns a subset of dependency artifacts that match the given collection of patterns
- formatLocation(MavenProject, InputLocation) - Static method in class org.apache.maven.enforcer.rules.AbstractStandardEnforcerRule
-
Creates a string with line/column information for problems originating directly from this POM.
G
- getArtifactId() - Method in class org.apache.maven.enforcer.rules.utils.PluginWrapper
- getCache(String, Supplier<?>) - Method in interface org.apache.maven.enforcer.rule.api.EnforcerRuleHelper
-
Deprecated.Gets a cached value, or uses the provided producer to compute it.
- getCache(String, Supplier<?>) - Method in class org.apache.maven.plugins.enforcer.internal.DefaultEnforcementRuleHelper
- getCacheId() - Method in class org.apache.maven.enforcer.rule.api.AbstractEnforcerRule
-
If the rule is to be cached during session scope, whole executing of Maven build, this id is used as part of the key.
- getCacheId() - Method in interface org.apache.maven.enforcer.rule.api.EnforcerRule
-
Deprecated.If the rule is to be cached, this id is used as part of the key.
- getCacheId() - Method in class org.apache.maven.enforcer.rules.files.RequireFilesDontExist
- getCacheId() - Method in class org.apache.maven.enforcer.rules.files.RequireFilesExist
- getCacheId() - Method in class org.apache.maven.enforcer.rules.files.RequireFilesSize
- getCacheId() - Method in class org.apache.maven.enforcer.rules.property.RequireEnvironmentVariable
- getCacheId() - Method in class org.apache.maven.enforcer.rules.ReactorModuleConvergence
- getCacheId() - Method in class org.apache.maven.enforcer.rules.RequireJavaVendor
-
The Java Vendor not changed during one Maven session, so can be cached.
- getCacheId() - Method in class org.apache.maven.enforcer.rules.RequireOS
- getCacheId() - Method in class org.apache.maven.enforcer.rules.version.RequireJavaVersion
- getCacheId() - Method in class org.apache.maven.enforcer.rules.version.RequireMavenVersion
- getChecksum() - Method in class org.apache.maven.enforcer.rules.checksum.RequireFileChecksum
- getComponent(Class<T>) - Method in interface org.apache.maven.enforcer.rule.api.EnforcerRuleHelper
-
Deprecated.Gets the component.
- getComponent(Class<T>) - Method in class org.apache.maven.plugins.enforcer.internal.DefaultEnforcementRuleHelper
- getComponent(Class<T>, String) - Method in interface org.apache.maven.enforcer.rule.api.EnforcerRuleHelper
-
Deprecated.Gets the component.
- getComponent(Class<T>, String) - Method in class org.apache.maven.plugins.enforcer.internal.DefaultEnforcementRuleHelper
- getComponent(String) - Method in interface org.apache.maven.enforcer.rule.api.EnforcerRuleHelper
-
Deprecated.Gets the component.
- getComponent(String) - Method in class org.apache.maven.plugins.enforcer.internal.DefaultEnforcementRuleHelper
- getComponent(String, String) - Method in interface org.apache.maven.enforcer.rule.api.EnforcerRuleHelper
-
Deprecated.Gets the component.
- getComponent(String, String) - Method in class org.apache.maven.plugins.enforcer.internal.DefaultEnforcementRuleHelper
- getComponentList(String) - Method in interface org.apache.maven.enforcer.rule.api.EnforcerRuleHelper
-
Deprecated.Gets the component list.
- getComponentList(String) - Method in class org.apache.maven.plugins.enforcer.internal.DefaultEnforcementRuleHelper
- getComponentMap(String) - Method in interface org.apache.maven.enforcer.rule.api.EnforcerRuleHelper
-
Deprecated.Gets the component map.
- getComponentMap(String) - Method in class org.apache.maven.plugins.enforcer.internal.DefaultEnforcementRuleHelper
- getCondition() - Method in class org.apache.maven.enforcer.rules.EvaluateBeanshell
- getContainer() - Method in interface org.apache.maven.enforcer.rule.api.EnforcerRuleHelper
-
Deprecated.Gets the container.
- getContainer() - Method in class org.apache.maven.plugins.enforcer.internal.DefaultEnforcementRuleHelper
- getEncoding() - Method in class org.apache.maven.enforcer.rules.checksum.RequireTextFileChecksum
- getErrorMessage() - Method in class org.apache.maven.enforcer.rules.dependency.BannedDependencies
- getErrorMessage() - Method in class org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps
- getExcludes() - Method in class org.apache.maven.enforcer.rules.dependency.BannedDependencies
-
Gets the excludes.
- getExcludes() - Method in class org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps
-
Gets the excludes.
- getFile() - Method in class org.apache.maven.enforcer.rules.checksum.RequireFileChecksum
- getGroupId() - Method in class org.apache.maven.enforcer.rules.utils.PluginWrapper
- getIncludes() - Method in class org.apache.maven.enforcer.rules.dependency.BannedDependencies
-
Gets the includes.
- getIncludes() - Method in class org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps
-
Gets the includes.
- getLevel() - Method in class org.apache.maven.enforcer.rule.api.AbstractEnforcerRule
-
Current Enforcer execution level
- getLevel() - Method in interface org.apache.maven.enforcer.rule.api.EnforcerRuleBase
-
Current Enforcer execution level
- getLevel() - Method in class org.apache.maven.plugins.enforcer.internal.EnforcerRuleDesc
- getLog() - Method in class org.apache.maven.enforcer.rule.api.AbstractEnforcerRule
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rule.api.AbstractEnforcerRuleConfigProvider
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.AbstractStandardEnforcerRule
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.AlwaysFail
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.AlwaysPass
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.BanDependencyManagementScope
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.BanDistributionManagement
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.BanDuplicatePomDependencyVersions
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.dependency.BanDynamicVersions
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.dependency.BannedDependencies
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.BannedPlugins
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.BannedRepositories
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.dependency.BanTransitiveDependencies
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.dependency.DependencyConvergence
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.EvaluateBeanshell
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.ExternalRules
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.ReactorModuleConvergence
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.RequireActiveProfile
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.property.RequireEnvironmentVariable
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.RequireExplicitDependencyScope
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.checksum.RequireFileChecksum
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.files.RequireFilesDontExist
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.files.RequireFilesExist
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.files.RequireFilesSize
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.RequireJavaVendor
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.version.RequireJavaVersion
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.RequireMatchingCoordinates
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.version.RequireMavenVersion
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.RequireNoRepositories
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.RequireOS
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.RequirePluginVersions
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.RequirePrerequisite
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.RequireProfileIdsExist
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.property.RequireProperty
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.RequireReleaseVersion
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.RequireSameVersions
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.RequireSnapshotVersion
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.checksum.RequireTextFileChecksum
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in class org.apache.maven.enforcer.rules.dependency.RequireUpperBoundDeps
-
Provide an
EnforcerLogger
instance for Rule - getLog() - Method in interface org.apache.maven.enforcer.rule.api.EnforcerRuleHelper
-
Deprecated.Gets the log.
- getLog() - Method in class org.apache.maven.plugins.enforcer.internal.DefaultEnforcementRuleHelper
- getLongMessage() - Method in exception class org.apache.maven.enforcer.rule.api.EnforcerRuleException
-
Deprecated.not used
- getMessage() - Method in class org.apache.maven.enforcer.rules.AbstractStandardEnforcerRule
- getName() - Method in class org.apache.maven.enforcer.rules.property.RequireEnvironmentVariable
- getName() - Method in class org.apache.maven.enforcer.rules.property.RequireProperty
- getName() - Method in class org.apache.maven.plugins.enforcer.internal.EnforcerRuleDesc
- getNonexistentFileMessage() - Method in class org.apache.maven.enforcer.rules.checksum.RequireFileChecksum
- getOSInfo() - Static method in class org.apache.maven.enforcer.rules.utils.OSUtil
-
OS Information used by Enforcer rules and display Mojo.
- getParent(DependencyNode) - Method in interface org.apache.maven.enforcer.rules.utils.ParentNodeProvider
-
Returns the parent node of the given node
- getParent(DependencyNode) - Method in class org.apache.maven.enforcer.rules.utils.ParentsVisitor
- getPhaseToLifecycleMap() - Method in class org.apache.maven.enforcer.rules.RequirePluginVersions
-
Gets the phase to lifecycle map.
- getProfilePlugins(MavenProject) - Method in class org.apache.maven.enforcer.rules.RequirePluginVersions
-
Finds the plugins that are listed in active profiles.
- getProfiles() - Method in class org.apache.maven.enforcer.rules.RequireActiveProfile
- getPropertyName() - Method in class org.apache.maven.enforcer.rules.property.RequireEnvironmentVariable
- getPropertyName() - Method in class org.apache.maven.enforcer.rules.property.RequireProperty
- getRegex() - Method in class org.apache.maven.enforcer.rules.property.RequireEnvironmentVariable
-
Get the property value to a given regular expression.
- getRegex() - Method in class org.apache.maven.enforcer.rules.property.RequireProperty
-
Get the property value to a given regular expression.
- getRegexMessage() - Method in class org.apache.maven.enforcer.rules.property.RequireEnvironmentVariable
-
Get a warning message if the regular expression is not matched.
- getRegexMessage() - Method in class org.apache.maven.enforcer.rules.property.RequireProperty
-
Get a warning message if the regular expression is not matched.
- getRule() - Method in class org.apache.maven.plugins.enforcer.internal.EnforcerRuleDesc
- getRulesConfig() - Method in class org.apache.maven.enforcer.rule.api.AbstractEnforcerRuleConfigProvider
-
Produce rule configuration.
- getRulesConfig() - Method in class org.apache.maven.enforcer.rules.ExternalRules
- getSession() - Method in class org.apache.maven.enforcer.rules.dependency.BannedDependencies
- getSession() - Method in class org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps
- getSource() - Method in exception class org.apache.maven.enforcer.rule.api.EnforcerRuleException
-
Deprecated.not used
- getSource() - Method in class org.apache.maven.enforcer.rules.utils.PluginWrapper
- getType() - Method in class org.apache.maven.enforcer.rules.checksum.RequireFileChecksum
- getVersion() - Method in class org.apache.maven.enforcer.rules.utils.PluginWrapper
- getVersion() - Method in class org.apache.maven.enforcer.rules.version.RequireJavaVersion
-
Gets the required version.
- getVersion() - Method in class org.apache.maven.enforcer.rules.version.RequireMavenVersion
-
Gets the required version.
- getViolatingDependencies(DependencyManagement) - Method in class org.apache.maven.enforcer.rules.BanDependencyManagementScope
H
- hasValidVersionSpecified(Plugin, List<PluginWrapper>) - Method in class org.apache.maven.enforcer.rules.RequirePluginVersions
-
Checks for valid version specified.
- HelpMojo - Class in org.apache.maven.plugins.maven_enforcer_plugin
-
Display help information on maven-enforcer-plugin.
Callmvn enforcer:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details. - HelpMojo() - Constructor for class org.apache.maven.plugins.maven_enforcer_plugin.HelpMojo
I
- ignoreCache - Variable in class org.apache.maven.plugins.enforcer.EnforceMojo
-
Use this flag to disable rule result caching.
- info(CharSequence) - Method in interface org.apache.maven.enforcer.rule.api.EnforcerLogger
-
Log message in
info
level. - info(CharSequence) - Method in class org.apache.maven.plugins.enforcer.internal.AbstractEnforcerLogger
- info(Supplier<CharSequence>) - Method in interface org.apache.maven.enforcer.rule.api.EnforcerLogger
-
Log message in
info
level. - info(Supplier<CharSequence>) - Method in class org.apache.maven.plugins.enforcer.internal.AbstractEnforcerLogger
- isAll() - Method in class org.apache.maven.enforcer.rules.RequireActiveProfile
- isAllowed() - Method in class org.apache.maven.enforcer.rules.RequireOS
-
Helper method to determine if the current OS is allowed based on the injected values for family, name, version and arch.
- isAllowRepository() - Method in class org.apache.maven.enforcer.rules.BanDistributionManagement
- isAllowSite() - Method in class org.apache.maven.enforcer.rules.BanDistributionManagement
- isAllowSnapshotRepository() - Method in class org.apache.maven.enforcer.rules.BanDistributionManagement
- isBanSnapshots() - Method in class org.apache.maven.enforcer.rules.RequirePluginVersions
-
Checks if is ban snapshots.
- isCacheable() - Method in interface org.apache.maven.enforcer.rule.api.EnforcerRule
-
Deprecated.This method tells the enforcer if the rule results may be cached.
- isCached(AbstractEnforcerRule) - Method in class org.apache.maven.plugins.enforcer.internal.EnforcerRuleCache
- isDebugEnabled() - Method in interface org.apache.maven.enforcer.rule.api.EnforcerLogger
-
Is the logger instance enabled for the DEBUG level?
- isDebugEnabled() - Method in class org.apache.maven.plugins.enforcer.internal.AbstractEnforcerLogger
- isErrorEnabled() - Method in interface org.apache.maven.enforcer.rule.api.EnforcerLogger
-
Is the logger instance enabled for the ERROR level?
- isErrorEnabled() - Method in class org.apache.maven.plugins.enforcer.internal.AbstractEnforcerLogger
- isIgnoreModuleDependencies() - Method in class org.apache.maven.enforcer.rules.ReactorModuleConvergence
- isInfoEnabled() - Method in interface org.apache.maven.enforcer.rule.api.EnforcerLogger
-
Is the logger instance enabled for the INFO level?
- isInfoEnabled() - Method in class org.apache.maven.plugins.enforcer.internal.AbstractEnforcerLogger
- isResultValid(EnforcerRule) - Method in interface org.apache.maven.enforcer.rule.api.EnforcerRule
-
Deprecated.If the rule is cacheable and the same id is found in the cache, the stored results are passed to this method to allow double checking of the results.
- isSearchTransitive() - Method in class org.apache.maven.enforcer.rules.dependency.BannedDependencies
- isSearchTransitive() - Method in class org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps
- isValidFamily(String) - Method in class org.apache.maven.enforcer.rules.RequireOS
-
Helper method to check if the given family is in the following list: dos mac netware os/2 tandem unix windows win9x z/os os/400 Note: '!' is allowed at the beginning of the string and still considered valid.
- isVersionFromDefaultLifecycleBindings(InputLocationTracker) - Static method in class org.apache.maven.enforcer.rules.utils.PluginWrapper
-
Whether the version is coming from the default lifecycle bindings.
- isVersionFromSuperpom(InputLocationTracker) - Static method in class org.apache.maven.enforcer.rules.utils.PluginWrapper
-
Whether the version is coming from the super POM.
- isWarnEnabled() - Method in interface org.apache.maven.enforcer.rule.api.EnforcerLogger
-
Is the logger instance enabled for the WARN level?
- isWarnEnabled() - Method in class org.apache.maven.plugins.enforcer.internal.AbstractEnforcerLogger
L
- log - Variable in class org.apache.maven.plugins.enforcer.internal.AbstractEnforcerLogger
- longMessage - Variable in exception class org.apache.maven.enforcer.rule.api.EnforcerRuleException
-
The long message.
M
- match(Artifact) - Method in class org.apache.maven.enforcer.rules.utils.ArtifactMatcher
-
Check if artifact matches patterns.
- match(Artifact) - Method in class org.apache.maven.enforcer.rules.utils.ArtifactMatcher.Pattern
- match(Dependency) - Method in class org.apache.maven.enforcer.rules.utils.ArtifactMatcher
-
Check if dependency matches patterns.
- match(Dependency) - Method in class org.apache.maven.enforcer.rules.utils.ArtifactMatcher.Pattern
- matchDependencyArtifact(Artifact, Collection<String>) - Static method in class org.apache.maven.enforcer.rules.utils.ArtifactUtils
-
Checks if the given dependency artifact matches the given collection of patterns
- mojoExecution - Variable in class org.apache.maven.plugins.enforcer.EnforceMojo
-
MojoExecution needed by the ExpressionEvaluator
N
- normalizeJDKVersion(String) - Static method in class org.apache.maven.enforcer.rules.version.RequireJavaVersion
-
Converts a jdk string from 1.5.0-11b12 to a single 3 digit version like 1.5.0-11
O
- org.apache.maven.enforcer.rule.api - package org.apache.maven.enforcer.rule.api
- org.apache.maven.enforcer.rules - package org.apache.maven.enforcer.rules
- org.apache.maven.enforcer.rules.checksum - package org.apache.maven.enforcer.rules.checksum
- org.apache.maven.enforcer.rules.dependency - package org.apache.maven.enforcer.rules.dependency
- org.apache.maven.enforcer.rules.files - package org.apache.maven.enforcer.rules.files
- org.apache.maven.enforcer.rules.property - package org.apache.maven.enforcer.rules.property
- org.apache.maven.enforcer.rules.utils - package org.apache.maven.enforcer.rules.utils
- org.apache.maven.enforcer.rules.version - package org.apache.maven.enforcer.rules.version
- org.apache.maven.extensions.enforcer - package org.apache.maven.extensions.enforcer
- org.apache.maven.plugins.enforcer - package org.apache.maven.plugins.enforcer
- org.apache.maven.plugins.enforcer.internal - package org.apache.maven.plugins.enforcer.internal
- org.apache.maven.plugins.maven_enforcer_plugin - package org.apache.maven.plugins.maven_enforcer_plugin
- OSUtil - Class in org.apache.maven.enforcer.rules.utils
-
Common os utility.
- OSUtil() - Constructor for class org.apache.maven.enforcer.rules.utils.OSUtil
P
- ParentNodeProvider - Interface in org.apache.maven.enforcer.rules.utils
-
Provides the information about
DependencyNode
parent nodes - ParentsVisitor - Class in org.apache.maven.enforcer.rules.utils
-
A
DependencyVisitor
building a map of parent nodes - ParentsVisitor() - Constructor for class org.apache.maven.enforcer.rules.utils.ParentsVisitor
- Pattern(String) - Constructor for class org.apache.maven.enforcer.rules.utils.ArtifactMatcher.Pattern
- PluginWrapper - Class in org.apache.maven.enforcer.rules.utils
- project - Variable in class org.apache.maven.plugins.enforcer.EnforceMojo
-
POM
R
- ReactorModuleConvergence - Class in org.apache.maven.enforcer.rules
-
This rule will check if a multi module build will follow the best practices.
- ReactorModuleConvergence(MavenSession) - Constructor for class org.apache.maven.enforcer.rules.ReactorModuleConvergence
- RequireActiveProfile - Class in org.apache.maven.enforcer.rules
-
This rule checks that some profiles are active.
- RequireActiveProfile(MavenProject) - Constructor for class org.apache.maven.enforcer.rules.RequireActiveProfile
- RequireEnvironmentVariable - Class in org.apache.maven.enforcer.rules.property
-
This rule checks that certain environment variable is set.
- RequireEnvironmentVariable() - Constructor for class org.apache.maven.enforcer.rules.property.RequireEnvironmentVariable
- RequireExplicitDependencyScope - Class in org.apache.maven.enforcer.rules
-
Checks that all dependencies have an explicitly declared scope in the non-effective pom (i.e.
- RequireExplicitDependencyScope(MavenProject) - Constructor for class org.apache.maven.enforcer.rules.RequireExplicitDependencyScope
- RequireFileChecksum - Class in org.apache.maven.enforcer.rules.checksum
-
Rule to validate a binary file to match the specified checksum.
- RequireFileChecksum() - Constructor for class org.apache.maven.enforcer.rules.checksum.RequireFileChecksum
- RequireFilesDontExist - Class in org.apache.maven.enforcer.rules.files
-
The Class RequireFilesDontExist.
- RequireFilesDontExist() - Constructor for class org.apache.maven.enforcer.rules.files.RequireFilesDontExist
- RequireFilesExist - Class in org.apache.maven.enforcer.rules.files
-
The Class RequireFilesExist.
- RequireFilesExist() - Constructor for class org.apache.maven.enforcer.rules.files.RequireFilesExist
- RequireFilesSize - Class in org.apache.maven.enforcer.rules.files
-
Rule to validate the main artifact is within certain size constraints.
- RequireFilesSize(MavenProject) - Constructor for class org.apache.maven.enforcer.rules.files.RequireFilesSize
- RequireJavaVendor - Class in org.apache.maven.enforcer.rules
-
This rule checks that the Java vendor is allowed.
- RequireJavaVendor() - Constructor for class org.apache.maven.enforcer.rules.RequireJavaVendor
- RequireJavaVersion - Class in org.apache.maven.enforcer.rules.version
-
This rule checks that the Java version is allowed.
- RequireJavaVersion() - Constructor for class org.apache.maven.enforcer.rules.version.RequireJavaVersion
- RequireMatchingCoordinates - Class in org.apache.maven.enforcer.rules
-
This rule checks that the Maven coordinates (i.e.
- RequireMatchingCoordinates(MavenProject) - Constructor for class org.apache.maven.enforcer.rules.RequireMatchingCoordinates
- RequireMavenVersion - Class in org.apache.maven.enforcer.rules.version
-
This rule checks that the Maven version is allowed.
- RequireMavenVersion(RuntimeInformation) - Constructor for class org.apache.maven.enforcer.rules.version.RequireMavenVersion
- RequireNoRepositories - Class in org.apache.maven.enforcer.rules
-
This rule checks that this pom or its parents don't define a repository.
- RequireNoRepositories(MavenSession) - Constructor for class org.apache.maven.enforcer.rules.RequireNoRepositories
- RequireOS - Class in org.apache.maven.enforcer.rules
-
This rule checks that the OS is allowed by combinations of family, name, version and cpu architecture.
- RequirePluginVersions - Class in org.apache.maven.enforcer.rules
-
This rule will enforce that all plugins specified in the poms have a version declared.
- RequirePluginVersions(PluginManager, ArtifactFactory, RepositorySystem, MavenSession, EnforcerRuleUtils, RuntimeInformation, DefaultLifecycles, MavenProject, ExpressionEvaluator, PlexusContainer) - Constructor for class org.apache.maven.enforcer.rules.RequirePluginVersions
- RequirePrerequisite - Class in org.apache.maven.enforcer.rules
- RequirePrerequisite(MavenProject) - Constructor for class org.apache.maven.enforcer.rules.RequirePrerequisite
- RequireProfileIdsExist - Class in org.apache.maven.enforcer.rules
-
Ensure that all profiles mentioned on the commandline do exist.
- RequireProfileIdsExist(MavenSession) - Constructor for class org.apache.maven.enforcer.rules.RequireProfileIdsExist
- RequireProperty - Class in org.apache.maven.enforcer.rules.property
-
This rule checks that certain properties are set.
- RequireProperty(ExpressionEvaluator) - Constructor for class org.apache.maven.enforcer.rules.property.RequireProperty
- RequireReleaseDeps - Class in org.apache.maven.enforcer.rules.dependency
-
This rule checks that no snapshots are included.
- RequireReleaseDeps(MavenSession, ResolverUtil) - Constructor for class org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps
- RequireReleaseVersion - Class in org.apache.maven.enforcer.rules
-
This rule checks that the current project is not a snapshot.
- RequireReleaseVersion(MavenProject) - Constructor for class org.apache.maven.enforcer.rules.RequireReleaseVersion
- RequireSameVersions - Class in org.apache.maven.enforcer.rules
- RequireSameVersions(MavenProject) - Constructor for class org.apache.maven.enforcer.rules.RequireSameVersions
- RequireSnapshotVersion - Class in org.apache.maven.enforcer.rules
-
This rule checks that the current project is not a release.
- RequireSnapshotVersion(MavenProject) - Constructor for class org.apache.maven.enforcer.rules.RequireSnapshotVersion
- RequireTextFileChecksum - Class in org.apache.maven.enforcer.rules.checksum
-
Rule to validate a text file to match the specified checksum.
- RequireTextFileChecksum(MavenProject) - Constructor for class org.apache.maven.enforcer.rules.checksum.RequireTextFileChecksum
- RequireUpperBoundDeps - Class in org.apache.maven.enforcer.rules.dependency
-
Rule to enforce that the resolved dependency is also the most recent one of all transitive dependencies.
- RequireUpperBoundDeps(ResolverUtil) - Constructor for class org.apache.maven.enforcer.rules.dependency.RequireUpperBoundDeps
- resolvePlugins(List<Plugin>) - Method in class org.apache.maven.enforcer.rules.utils.EnforcerRuleUtils
- resolveReportPlugins(List<ReportPlugin>) - Method in class org.apache.maven.enforcer.rules.utils.EnforcerRuleUtils
- resolveValue() - Method in class org.apache.maven.enforcer.rules.property.RequireEnvironmentVariable
- resolveValue() - Method in class org.apache.maven.enforcer.rules.property.RequireProperty
S
- session - Variable in class org.apache.maven.plugins.enforcer.DisplayInfoMojo
-
Deprecated.The MavenSession
- session - Variable in class org.apache.maven.plugins.enforcer.EnforceMojo
-
The MavenSession
- setAll(boolean) - Method in class org.apache.maven.enforcer.rules.RequireActiveProfile
- setAllowedPluginRepositories(List<String>) - Method in class org.apache.maven.enforcer.rules.BannedRepositories
- setAllowedPluginRepositories(List<String>) - Method in class org.apache.maven.enforcer.rules.RequireNoRepositories
- setAllowedRepositories(List<String>) - Method in class org.apache.maven.enforcer.rules.BannedRepositories
- setAllowedRepositories(List<String>) - Method in class org.apache.maven.enforcer.rules.RequireNoRepositories
- setAllowRepository(boolean) - Method in class org.apache.maven.enforcer.rules.BanDistributionManagement
- setAllowSite(boolean) - Method in class org.apache.maven.enforcer.rules.BanDistributionManagement
- setAllowSnapshotPluginRepositories(boolean) - Method in class org.apache.maven.enforcer.rules.RequireNoRepositories
- setAllowSnapshotRepositories(boolean) - Method in class org.apache.maven.enforcer.rules.RequireNoRepositories
- setAllowSnapshotRepository(boolean) - Method in class org.apache.maven.enforcer.rules.BanDistributionManagement
- setArch(String) - Method in class org.apache.maven.enforcer.rules.RequireOS
-
Sets the arch.
- setArtifactIdPattern(String) - Method in class org.apache.maven.enforcer.rules.RequireMatchingCoordinates
- setBanLatest(boolean) - Method in class org.apache.maven.enforcer.rules.RequirePluginVersions
-
Sets the ban latest.
- setBannedRepositories(List<String>) - Method in class org.apache.maven.enforcer.rules.BannedRepositories
- setBanPluginRepositories(boolean) - Method in class org.apache.maven.enforcer.rules.RequireNoRepositories
- setBanRelease(boolean) - Method in class org.apache.maven.enforcer.rules.RequirePluginVersions
-
Sets the ban release.
- setBanRepositories(boolean) - Method in class org.apache.maven.enforcer.rules.RequireNoRepositories
- setBanSnapshots(boolean) - Method in class org.apache.maven.enforcer.rules.RequirePluginVersions
-
Sets the ban snapshots.
- setBanTimestamps(boolean) - Method in class org.apache.maven.enforcer.rules.RequirePluginVersions
-
Sets the ban timestamps.
- setChecksum(String) - Method in class org.apache.maven.enforcer.rules.checksum.RequireFileChecksum
-
The expected checksum value.
- setCommandLineRules(List<String>) - Method in class org.apache.maven.plugins.enforcer.EnforceMojo
-
Deprecated.Use
enforcer.rules
property instead - setCondition(String) - Method in class org.apache.maven.enforcer.rules.EvaluateBeanshell
- setDisplay(boolean) - Method in class org.apache.maven.enforcer.rules.RequireOS
- setEncoding(String) - Method in class org.apache.maven.enforcer.rules.checksum.RequireTextFileChecksum
- setExcludes(List<String>) - Method in class org.apache.maven.enforcer.rules.BanDependencyManagementScope
- setExcludes(List<String>) - Method in class org.apache.maven.enforcer.rules.dependency.BannedDependencies
-
Specify the banned dependencies.
- setExcludes(List<String>) - Method in class org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps
-
Specify the banned dependencies.
- setExcludes(List<String>) - Method in class org.apache.maven.enforcer.rules.dependency.RequireUpperBoundDeps
-
Sets dependencies to exclude.
- setExcludes(List<String>) - Method in class org.apache.maven.enforcer.rules.RequireJavaVendor
-
Specify the banned vendors.
- setFail(boolean) - Method in class org.apache.maven.plugins.enforcer.EnforceMojo
- setFailFast(boolean) - Method in class org.apache.maven.plugins.enforcer.EnforceMojo
- setFailIfNoRules(boolean) - Method in class org.apache.maven.plugins.enforcer.EnforceMojo
- setFailWhenParentIsRelease(boolean) - Method in class org.apache.maven.enforcer.rules.RequireSnapshotVersion
- setFailWhenParentIsSnapshot(boolean) - Method in class org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps
- setFailWhenParentIsSnapshot(boolean) - Method in class org.apache.maven.enforcer.rules.RequireReleaseVersion
- setFamily(String) - Method in class org.apache.maven.enforcer.rules.RequireOS
-
Sets the family.
- setFile(File) - Method in class org.apache.maven.enforcer.rules.checksum.RequireFileChecksum
-
The file to check.
- setGroupIdPattern(String) - Method in class org.apache.maven.enforcer.rules.RequireMatchingCoordinates
- setIncludes(List<String>) - Method in class org.apache.maven.enforcer.rules.dependency.BannedDependencies
-
Specify the allowed dependencies.
- setIncludes(List<String>) - Method in class org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps
-
Specify the allowed dependencies.
- setIncludes(List<String>) - Method in class org.apache.maven.enforcer.rules.dependency.RequireUpperBoundDeps
-
Sets dependencies to include.
- setIncludes(List<String>) - Method in class org.apache.maven.enforcer.rules.RequireJavaVendor
-
Specify the allowed vendor names.
- setLocation(String) - Method in class org.apache.maven.enforcer.rules.ExternalRules
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rule.api.AbstractEnforcerRule
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rule.api.AbstractEnforcerRuleConfigProvider
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.AbstractStandardEnforcerRule
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.AlwaysFail
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.AlwaysPass
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.BanDependencyManagementScope
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.BanDistributionManagement
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.BanDuplicatePomDependencyVersions
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.dependency.BanDynamicVersions
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.dependency.BannedDependencies
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.BannedPlugins
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.BannedRepositories
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.dependency.BanTransitiveDependencies
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.dependency.DependencyConvergence
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.EvaluateBeanshell
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.ExternalRules
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.ReactorModuleConvergence
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequireActiveProfile
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.property.RequireEnvironmentVariable
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequireExplicitDependencyScope
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.checksum.RequireFileChecksum
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.files.RequireFilesDontExist
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.files.RequireFilesExist
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.files.RequireFilesSize
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequireJavaVendor
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.version.RequireJavaVersion
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequireMatchingCoordinates
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.version.RequireMavenVersion
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequireNoRepositories
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequireOS
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequirePluginVersions
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequirePrerequisite
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequireProfileIdsExist
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.property.RequireProperty
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequireReleaseVersion
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequireSameVersions
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequireSnapshotVersion
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.checksum.RequireTextFileChecksum
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.dependency.RequireUpperBoundDeps
-
Used by
EnforcerMojo
to inject logger instance - setLog(EnforcerLogger) - Method in interface org.apache.maven.enforcer.rule.api.EnforcerRuleBase
-
Used by
EnforcerMojo
to inject logger instance - setMavenVersion(String) - Method in class org.apache.maven.enforcer.rules.RequirePrerequisite
-
Set the mavenVersion Can either be version or a range, e.g.
- setMaxsize(long) - Method in class org.apache.maven.enforcer.rules.files.RequireFilesSize
- setMessage(String) - Method in class org.apache.maven.enforcer.rules.AbstractStandardEnforcerRule
- setMinsize(long) - Method in class org.apache.maven.enforcer.rules.files.RequireFilesSize
- setModuleNameMustMatchArtifactId(boolean) - Method in class org.apache.maven.enforcer.rules.RequireMatchingCoordinates
- setName(String) - Method in class org.apache.maven.enforcer.rules.RequireOS
-
Sets the name.
- setNonexistentFileMessage(String) - Method in class org.apache.maven.enforcer.rules.checksum.RequireFileChecksum
-
The friendly message to use when the file does not exist.
- setNormalizeLineSeparatorTo(NormalizeLineSeparatorReader.LineSeparator) - Method in class org.apache.maven.enforcer.rules.checksum.RequireTextFileChecksum
- setOnlyWhenRelease(boolean) - Method in class org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps
- setPackagings(List<String>) - Method in class org.apache.maven.enforcer.rules.RequirePrerequisite
-
Only the projects with one of these packagings will be enforced to have the correct prerequisite.
- setProfiles(String) - Method in class org.apache.maven.enforcer.rules.RequireActiveProfile
- setProperty(String) - Method in class org.apache.maven.enforcer.rules.property.RequireProperty
- setRegex(String) - Method in class org.apache.maven.enforcer.rules.property.RequireEnvironmentVariable
-
Set the property value to a given regular expression.
- setRegex(String) - Method in class org.apache.maven.enforcer.rules.property.RequireProperty
-
Set the property value to a given regular expression.
- setRegexMessage(String) - Method in class org.apache.maven.enforcer.rules.property.RequireEnvironmentVariable
-
Set a warning message if the regular expression is not matched.
- setRegexMessage(String) - Method in class org.apache.maven.enforcer.rules.property.RequireProperty
-
Set a warning message if the regular expression is not matched.
- setRulesToExecute(List<String>) - Method in class org.apache.maven.plugins.enforcer.EnforceMojo
-
List of strings that matches the EnforcerRules to execute.
- setRulesToSkip(List<String>) - Method in class org.apache.maven.plugins.enforcer.EnforceMojo
-
Set rule list to skip.
- setSearchTransitive(boolean) - Method in class org.apache.maven.enforcer.rules.dependency.BannedDependencies
-
Sets the search transitive.
- setSearchTransitive(boolean) - Method in class org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps
-
Sets the search transitive.
- setType(String) - Method in class org.apache.maven.enforcer.rules.checksum.RequireFileChecksum
-
The checksum algorithm to use.
- setVariableName(String) - Method in class org.apache.maven.enforcer.rules.property.RequireEnvironmentVariable
- setVerbose(boolean) - Method in class org.apache.maven.enforcer.rules.dependency.BanDynamicVersions
- setVersion(String) - Method in class org.apache.maven.enforcer.rules.RequireOS
-
Sets the version.
- setVersion(String) - Method in class org.apache.maven.enforcer.rules.version.RequireMavenVersion
-
Specify the required version.
- setVersion(String) - Method in class org.apache.maven.enforcer.rules.version.RequireJavaVersion
- shouldExecute(EnforcerRule) - Method in class org.apache.maven.plugins.enforcer.EnforceMojo
-
This method determines if a rule should execute based on the cache
- skip - Variable in class org.apache.maven.plugins.enforcer.EnforceMojo
-
Flag to easily skip all checks
- source - Variable in exception class org.apache.maven.enforcer.rule.api.EnforcerRuleException
-
The source.
T
- toArtifact(DependencyNode) - Static method in class org.apache.maven.enforcer.rules.utils.ArtifactUtils
-
Converts
DependencyNode
toArtifact
; in comparison toRepositoryUtils.toArtifact(org.eclipse.aether.artifact.Artifact)
, this method assignsArtifact.getScope()
andArtifact.isOptional()
based on the dependency information from the node. - toString() - Method in class org.apache.maven.enforcer.rules.AlwaysFail
- toString() - Method in class org.apache.maven.enforcer.rules.AlwaysPass
- toString() - Method in class org.apache.maven.enforcer.rules.BanDependencyManagementScope
- toString() - Method in class org.apache.maven.enforcer.rules.BanDistributionManagement
- toString() - Method in class org.apache.maven.enforcer.rules.BannedPlugins
- toString() - Method in class org.apache.maven.enforcer.rules.BannedRepositories
- toString() - Method in class org.apache.maven.enforcer.rules.checksum.RequireFileChecksum
- toString() - Method in class org.apache.maven.enforcer.rules.checksum.RequireTextFileChecksum
- toString() - Method in class org.apache.maven.enforcer.rules.dependency.BanDynamicVersions
- toString() - Method in class org.apache.maven.enforcer.rules.dependency.BannedDependencies
- toString() - Method in class org.apache.maven.enforcer.rules.dependency.BanTransitiveDependencies
- toString() - Method in class org.apache.maven.enforcer.rules.dependency.DependencyConvergence
- toString() - Method in class org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps
- toString() - Method in class org.apache.maven.enforcer.rules.EvaluateBeanshell
- toString() - Method in class org.apache.maven.enforcer.rules.ExternalRules
- toString() - Method in class org.apache.maven.enforcer.rules.files.RequireFilesDontExist
- toString() - Method in class org.apache.maven.enforcer.rules.files.RequireFilesExist
- toString() - Method in class org.apache.maven.enforcer.rules.files.RequireFilesSize
- toString() - Method in class org.apache.maven.enforcer.rules.property.RequireEnvironmentVariable
- toString() - Method in class org.apache.maven.enforcer.rules.property.RequireProperty
- toString() - Method in class org.apache.maven.enforcer.rules.ReactorModuleConvergence
- toString() - Method in class org.apache.maven.enforcer.rules.RequireActiveProfile
- toString() - Method in class org.apache.maven.enforcer.rules.RequireJavaVendor
- toString() - Method in class org.apache.maven.enforcer.rules.RequireMatchingCoordinates
- toString() - Method in class org.apache.maven.enforcer.rules.RequireNoRepositories
- toString() - Method in class org.apache.maven.enforcer.rules.RequireOS
- toString() - Method in class org.apache.maven.enforcer.rules.RequirePluginVersions
- toString() - Method in class org.apache.maven.enforcer.rules.RequirePrerequisite
- toString() - Method in class org.apache.maven.enforcer.rules.RequireReleaseVersion
- toString() - Method in class org.apache.maven.enforcer.rules.RequireSameVersions
- toString() - Method in class org.apache.maven.enforcer.rules.RequireSnapshotVersion
- toString() - Method in class org.apache.maven.enforcer.rules.utils.ArtifactMatcher.Pattern
- toString() - Method in class org.apache.maven.enforcer.rules.version.RequireJavaVersion
- toString() - Method in class org.apache.maven.enforcer.rules.version.RequireMavenVersion
- toString() - Method in class org.apache.maven.plugins.enforcer.internal.EnforcerRuleDesc
- toString(VersionRange) - Static method in class org.apache.maven.enforcer.rules.version.RequireJavaVersion
- toString(VersionRange) - Static method in class org.apache.maven.enforcer.rules.version.RequireMavenVersion
V
- validate(Artifact) - Method in class org.apache.maven.enforcer.rules.dependency.BannedDependencies
- validate(Artifact) - Method in class org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps
- validate(DependencyNode, int, StringBuilder) - Method in class org.apache.maven.enforcer.rules.dependency.BannedDependencies
- validate(DependencyNode, int, StringBuilder) - Method in class org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps
- valueOf(String) - Static method in enum org.apache.maven.enforcer.rule.api.EnforcerLevel
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.maven.enforcer.rule.api.EnforcerLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- visitEnter(DependencyNode) - Method in class org.apache.maven.enforcer.rules.utils.ParentsVisitor
- visitLeave(DependencyNode) - Method in class org.apache.maven.enforcer.rules.utils.ParentsVisitor
W
- warn(CharSequence) - Method in interface org.apache.maven.enforcer.rule.api.EnforcerLogger
-
Log message in
warn
level. - warn(CharSequence) - Method in class org.apache.maven.plugins.enforcer.internal.AbstractEnforcerLogger
- warn(Supplier<CharSequence>) - Method in interface org.apache.maven.enforcer.rule.api.EnforcerLogger
-
Log message in
warn
level. - warn(Supplier<CharSequence>) - Method in class org.apache.maven.plugins.enforcer.internal.AbstractEnforcerLogger
- WARN - Enum constant in enum org.apache.maven.enforcer.rule.api.EnforcerLevel
-
Just warn.
- warnOrError(CharSequence) - Method in interface org.apache.maven.enforcer.rule.api.EnforcerLogger
- warnOrError(CharSequence) - Method in class org.apache.maven.plugins.enforcer.internal.EnforcerLoggerError
- warnOrError(CharSequence) - Method in class org.apache.maven.plugins.enforcer.internal.EnforcerLoggerWarn
- warnOrError(Supplier<CharSequence>) - Method in interface org.apache.maven.enforcer.rule.api.EnforcerLogger
- warnOrError(Supplier<CharSequence>) - Method in class org.apache.maven.plugins.enforcer.internal.EnforcerLoggerError
- warnOrError(Supplier<CharSequence>) - Method in class org.apache.maven.plugins.enforcer.internal.EnforcerLoggerWarn
All Classes and Interfaces|All Packages|Serialized Form
mvn --version