Class BannedPlugins
-
- All Implemented Interfaces:
EnforcerRule
,EnforcerRule2
public class BannedPlugins extends BannedDependencies
This rule checks that lists of plugins are not included.- Author:
- Marvin Froeder
-
-
Constructor Summary
Constructors Constructor Description BannedPlugins()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Set<org.apache.maven.artifact.Artifact>
getDependenciesToCheck(org.apache.maven.project.MavenProject project)
protected CharSequence
getErrorMessage(org.apache.maven.artifact.Artifact artifact)
-
Methods inherited from class org.apache.maven.plugins.enforcer.BannedDependencies
checkDependencies, compareDependency, getExcludes, getIncludes, setExcludes, setIncludes
-
Methods inherited from class org.apache.maven.plugins.enforcer.AbstractBanDependencies
execute, getDependenciesToCheck, isSearchTransitive, setSearchTransitive
-
Methods inherited from class org.apache.maven.plugins.enforcer.AbstractNonCacheableEnforcerRule
getCacheId, isCacheable, isResultValid
-
Methods inherited from class org.apache.maven.plugins.enforcer.AbstractStandardEnforcerRule
getLevel, getMessage, setLevel, setMessage
-
-
-
-
Method Detail
-
getDependenciesToCheck
protected Set<org.apache.maven.artifact.Artifact> getDependenciesToCheck(org.apache.maven.project.MavenProject project)
-
getErrorMessage
protected CharSequence getErrorMessage(org.apache.maven.artifact.Artifact artifact)
- Overrides:
getErrorMessage
in classAbstractBanDependencies
-
-