Index
All Classes and Interfaces|All Packages
A
- 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
- 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
- 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
- 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.
D
- DependencyConvergence - Class in org.apache.maven.enforcer.rules.dependency
- DependencyConvergence(ResolverUtil) - Constructor for class org.apache.maven.enforcer.rules.dependency.DependencyConvergence
E
- 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.
- 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.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
- 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
- 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
- getCondition() - Method in class org.apache.maven.enforcer.rules.EvaluateBeanshell
- 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.
- getLog() - Method in class org.apache.maven.enforcer.rules.AbstractStandardEnforcerRule
- getLog() - Method in class org.apache.maven.enforcer.rules.AlwaysFail
- getLog() - Method in class org.apache.maven.enforcer.rules.AlwaysPass
- getLog() - Method in class org.apache.maven.enforcer.rules.BanDependencyManagementScope
- getLog() - Method in class org.apache.maven.enforcer.rules.BanDistributionManagement
- getLog() - Method in class org.apache.maven.enforcer.rules.BanDuplicatePomDependencyVersions
- getLog() - Method in class org.apache.maven.enforcer.rules.dependency.BanDynamicVersions
- getLog() - Method in class org.apache.maven.enforcer.rules.dependency.BannedDependencies
- getLog() - Method in class org.apache.maven.enforcer.rules.BannedPlugins
- getLog() - Method in class org.apache.maven.enforcer.rules.BannedRepositories
- getLog() - Method in class org.apache.maven.enforcer.rules.dependency.BanTransitiveDependencies
- getLog() - Method in class org.apache.maven.enforcer.rules.dependency.DependencyConvergence
- getLog() - Method in class org.apache.maven.enforcer.rules.EvaluateBeanshell
- getLog() - Method in class org.apache.maven.enforcer.rules.ExternalRules
- getLog() - Method in class org.apache.maven.enforcer.rules.ReactorModuleConvergence
- getLog() - Method in class org.apache.maven.enforcer.rules.RequireActiveProfile
- getLog() - Method in class org.apache.maven.enforcer.rules.property.RequireEnvironmentVariable
- getLog() - Method in class org.apache.maven.enforcer.rules.RequireExplicitDependencyScope
- getLog() - Method in class org.apache.maven.enforcer.rules.checksum.RequireFileChecksum
- getLog() - Method in class org.apache.maven.enforcer.rules.files.RequireFilesDontExist
- getLog() - Method in class org.apache.maven.enforcer.rules.files.RequireFilesExist
- getLog() - Method in class org.apache.maven.enforcer.rules.files.RequireFilesSize
- getLog() - Method in class org.apache.maven.enforcer.rules.RequireJavaVendor
- getLog() - Method in class org.apache.maven.enforcer.rules.version.RequireJavaVersion
- getLog() - Method in class org.apache.maven.enforcer.rules.RequireMatchingCoordinates
- getLog() - Method in class org.apache.maven.enforcer.rules.version.RequireMavenVersion
- getLog() - Method in class org.apache.maven.enforcer.rules.RequireNoRepositories
- getLog() - Method in class org.apache.maven.enforcer.rules.RequireOS
- getLog() - Method in class org.apache.maven.enforcer.rules.RequirePluginVersions
- getLog() - Method in class org.apache.maven.enforcer.rules.RequirePrerequisite
- getLog() - Method in class org.apache.maven.enforcer.rules.RequireProfileIdsExist
- getLog() - Method in class org.apache.maven.enforcer.rules.property.RequireProperty
- getLog() - Method in class org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps
- getLog() - Method in class org.apache.maven.enforcer.rules.RequireReleaseVersion
- getLog() - Method in class org.apache.maven.enforcer.rules.RequireSameVersions
- getLog() - Method in class org.apache.maven.enforcer.rules.RequireSnapshotVersion
- getLog() - Method in class org.apache.maven.enforcer.rules.checksum.RequireTextFileChecksum
- getLog() - Method in class org.apache.maven.enforcer.rules.dependency.RequireUpperBoundDeps
- 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
- 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.
- 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 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.
I
- 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.
- isIgnoreModuleDependencies() - Method in class org.apache.maven.enforcer.rules.ReactorModuleConvergence
- 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.
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
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.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
- 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
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
- 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.
- 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.
- 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.rules.AbstractStandardEnforcerRule
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.AlwaysFail
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.AlwaysPass
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.BanDependencyManagementScope
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.BanDistributionManagement
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.BanDuplicatePomDependencyVersions
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.dependency.BanDynamicVersions
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.dependency.BannedDependencies
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.BannedPlugins
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.BannedRepositories
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.dependency.BanTransitiveDependencies
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.dependency.DependencyConvergence
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.EvaluateBeanshell
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.ExternalRules
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.ReactorModuleConvergence
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequireActiveProfile
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.property.RequireEnvironmentVariable
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequireExplicitDependencyScope
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.checksum.RequireFileChecksum
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.files.RequireFilesDontExist
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.files.RequireFilesExist
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.files.RequireFilesSize
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequireJavaVendor
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.version.RequireJavaVersion
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequireMatchingCoordinates
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.version.RequireMavenVersion
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequireNoRepositories
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequireOS
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequirePluginVersions
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequirePrerequisite
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequireProfileIdsExist
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.property.RequireProperty
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequireReleaseVersion
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequireSameVersions
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.RequireSnapshotVersion
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.checksum.RequireTextFileChecksum
- setLog(EnforcerLogger) - Method in class org.apache.maven.enforcer.rules.dependency.RequireUpperBoundDeps
- 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.
- 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
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(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
- visitEnter(DependencyNode) - Method in class org.apache.maven.enforcer.rules.utils.ParentsVisitor
- visitLeave(DependencyNode) - Method in class org.apache.maven.enforcer.rules.utils.ParentsVisitor
All Classes and Interfaces|All Packages