Class NoSnapshots
- java.lang.Object
-
- org.apache.maven.plugins.enforcer.AbstractStandardEnforcerRule
-
- org.apache.maven.plugins.enforcer.AbstractNonCacheableEnforcerRule
-
- org.apache.maven.plugins.enforcer.AbstractBanDependencies
-
- org.apache.maven.plugins.enforcer.NoSnapshots
-
- All Implemented Interfaces:
EnforcerRule
,EnforcerRule2
public class NoSnapshots extends AbstractBanDependencies
Deprecated.replaced byRequireReleaseDeps
This rule is deprecated. Use requireReleaseVersions.- Version:
- $Id: NoSnapshots.java 1345332 2012-06-01 20:14:13Z rfscholte $
- Author:
- Brian Fox
-
-
Constructor Summary
Constructors Constructor Description NoSnapshots()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Set<org.apache.maven.artifact.Artifact>
checkDependencies(Set<org.apache.maven.artifact.Artifact> dependencies, org.apache.maven.plugin.logging.Log log)
Deprecated.Checks the set of dependencies against the list of excludes.-
Methods inherited from class org.apache.maven.plugins.enforcer.AbstractBanDependencies
execute, getDependenciesToCheck, getErrorMessage, 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
-
checkDependencies
protected Set<org.apache.maven.artifact.Artifact> checkDependencies(Set<org.apache.maven.artifact.Artifact> dependencies, org.apache.maven.plugin.logging.Log log) throws EnforcerRuleException
Deprecated.Checks the set of dependencies against the list of excludes.- Specified by:
checkDependencies
in classAbstractBanDependencies
- Parameters:
dependencies
- the dependencieslog
- the log- Returns:
- the sets the
- Throws:
EnforcerRuleException
- the enforcer rule exception
-
-