Uses of Class
org.apache.maven.enforcer.rule.api.EnforcerRuleException
Packages that use EnforcerRuleException
Package
Description
-
Uses of EnforcerRuleException in org.apache.maven.enforcer.rule.api
Subclasses of EnforcerRuleException in org.apache.maven.enforcer.rule.apiModifier and TypeClassDescriptionclass
An error occurring during the execution of a rule.Methods in org.apache.maven.enforcer.rule.api that throw EnforcerRuleExceptionModifier and TypeMethodDescriptionabstract void
AbstractEnforcerRule.execute()
This is the interface into the rule.void
EnforcerRule.execute
(EnforcerRuleHelper helper) Deprecated.This is the interface into the rule. -
Uses of EnforcerRuleException in org.apache.maven.enforcer.rules
Methods in org.apache.maven.enforcer.rules that throw EnforcerRuleExceptionModifier and TypeMethodDescriptionprivate void
ReactorModuleConvergence.checkDependenciesWithinReactor
(List<org.apache.maven.project.MavenProject> sortedProjects) private void
ReactorModuleConvergence.checkMissingParentsInReactor
(List<org.apache.maven.project.MavenProject> sortedProjects) Convenience method to create a user readable message.private void
ReactorModuleConvergence.checkParentsInReactor
(List<org.apache.maven.project.MavenProject> sortedProjects) Convenience method to create a user readable message.private void
ReactorModuleConvergence.checkParentsPartOfTheReactor
(List<org.apache.maven.project.MavenProject> sortedProjects) private void
ReactorModuleConvergence.checkReactor
(List<org.apache.maven.project.MavenProject> sortedProjects) Convenience method to create user readable message.private boolean
EvaluateBeanshell.evaluateCondition
(String script) Evaluate expression using Beanshell.void
AlwaysFail.execute()
void
BanDependencyManagementScope.execute()
void
BanDistributionManagement.DistributionManagementCheck.execute
(boolean isAllowRepository, boolean isAllowSnapshotRepository, boolean isAllowSite) void
BanDistributionManagement.execute()
void
BanDuplicatePomDependencyVersions.execute()
void
BannedPlugins.execute()
void
BannedRepositories.execute()
void
EvaluateBeanshell.execute()
void
ReactorModuleConvergence.execute()
void
RequireActiveProfile.execute()
void
RequireExplicitDependencyScope.execute()
void
RequireJavaVendor.execute()
void
RequireNoRepositories.execute()
void
RequireOS.execute()
void
RequirePluginVersions.execute()
void
RequirePrerequisite.execute()
void
RequireProfileIdsExist.execute()
void
RequireReleaseVersion.execute()
void
RequireSameVersions.execute()
void
RequireSnapshotVersion.execute()
private org.apache.maven.model.Plugin
RequirePluginVersions.findCurrentPlugin
(org.apache.maven.model.Plugin plugin, org.apache.maven.project.MavenProject project) Given a plugin, this will retrieve the matching plugin artifact from the model.private void
RequirePluginVersions.handleMessagesToTheUser
(org.apache.maven.project.MavenProject project, List<org.apache.maven.model.Plugin> failures) private void
BanDuplicatePomDependencyVersions.maven2Validation
(org.apache.maven.model.Model model) -
Uses of EnforcerRuleException in org.apache.maven.enforcer.rules.checksum
Methods in org.apache.maven.enforcer.rules.checksum that throw EnforcerRuleExceptionModifier and TypeMethodDescriptionprotected String
RequireFileChecksum.calculateChecksum()
protected String
RequireFileChecksum.calculateChecksum
(InputStream inputStream) protected String
RequireTextFileChecksum.calculateChecksum()
void
RequireFileChecksum.execute()
void
RequireTextFileChecksum.execute()
-
Uses of EnforcerRuleException in org.apache.maven.enforcer.rules.dependency
Methods in org.apache.maven.enforcer.rules.dependency that throw EnforcerRuleExceptionModifier and TypeMethodDescriptionvoid
BanDynamicVersions.execute()
void
BannedDependenciesBase.execute()
void
BanTransitiveDependencies.execute()
void
DependencyConvergence.execute()
void
RequireReleaseDeps.execute()
void
RequireUpperBoundDeps.execute()
private Set
<org.apache.maven.artifact.Artifact> RequireReleaseDeps.filterArtifacts
(Set<org.apache.maven.artifact.Artifact> dependencies) Filter the dependency artifacts according to the includes and excludes If includes and excludes are both null, the original set is returned.(package private) org.eclipse.aether.graph.DependencyNode
ResolverUtil.resolveTransitiveDependencies()
Retrieves theDependencyNode
instance containing the result of the transitive dependency for the currentMavenProject
.private org.eclipse.aether.graph.DependencyNode
ResolverUtil.resolveTransitiveDependencies
(boolean verbose, boolean excludeOptional, List<String> excludedScopes) (package private) org.eclipse.aether.graph.DependencyNode
ResolverUtil.resolveTransitiveDependencies
(boolean excludeOptional, List<String> excludedScopes) Retrieves theDependencyNode
instance containing the result of the transitive dependency for the currentMavenProject
.(package private) org.eclipse.aether.graph.DependencyNode
ResolverUtil.resolveTransitiveDependenciesVerbose
(List<String> excludedScopes) Retrieves theDependencyNode
instance containing the result of the transitive dependency for the currentMavenProject
in verbose mode. -
Uses of EnforcerRuleException in org.apache.maven.enforcer.rules.files
Methods in org.apache.maven.enforcer.rules.files that throw EnforcerRuleException -
Uses of EnforcerRuleException in org.apache.maven.enforcer.rules.property
Methods in org.apache.maven.enforcer.rules.property that throw EnforcerRuleExceptionModifier and TypeMethodDescriptionvoid
AbstractPropertyEnforcerRule.execute()
protected abstract Object
AbstractPropertyEnforcerRule.resolveValue()
Resolves the property valueRequireProperty.resolveValue()
-
Uses of EnforcerRuleException in org.apache.maven.enforcer.rules.utils
Methods in org.apache.maven.enforcer.rules.utils that throw EnforcerRuleExceptionModifier and TypeMethodDescriptionstatic Set
<org.apache.maven.artifact.Artifact> ArtifactUtils.filterDependencyArtifacts
(Set<org.apache.maven.artifact.Artifact> dependencies, Collection<String> patterns) Returns a subset of dependency artifacts that match the given collection of patterns -
Uses of EnforcerRuleException in org.apache.maven.enforcer.rules.version
Methods in org.apache.maven.enforcer.rules.version that throw EnforcerRuleExceptionModifier and TypeMethodDescriptionvoid
AbstractVersionEnforcer.enforceVersion
(String variableName, String requiredVersionRange, org.apache.maven.artifact.versioning.ArtifactVersion actualVersion) Compares the specified version to see if it is allowed by the defined version range.void
RequireJavaVersion.execute()
void
RequireMavenVersion.execute()
-
Uses of EnforcerRuleException in org.apache.maven.plugins.enforcer
Methods in org.apache.maven.plugins.enforcer with parameters of type EnforcerRuleExceptionModifier and TypeMethodDescriptionprivate String
EnforceMojo.createRuleMessage
(int ruleIndex, EnforcerRuleDesc ruleDesc, EnforcerLevel level, EnforcerRuleException e) Methods in org.apache.maven.plugins.enforcer that throw EnforcerRuleExceptionModifier and TypeMethodDescriptionprivate void
EnforceMojo.executeRule
(int ruleIndex, EnforcerRuleDesc ruleDesc, EnforcerRuleHelper helper) private void
EnforceMojo.executeRuleNew
(int ruleIndex, EnforcerRuleDesc ruleDesc) private void
EnforceMojo.executeRuleOld
(int ruleIndex, EnforcerRuleDesc ruleDesc, EnforcerRuleHelper helper)