org.apache.maven.plugins.enforcer
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
Deprecated. replaced by RequireReleaseDeps
public class NoSnapshots
- extends AbstractBanDependencies
This rule is deprecated. Use requireReleaseVersions.
- Version:
- $Id: NoSnapshots.java 1345332 2012-06-01 20:14:13Z rfscholte $
- Author:
- Brian Fox
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoSnapshots
public NoSnapshots()
- Deprecated.
checkDependencies
protected Set<Artifact> checkDependencies(Set<Artifact> dependencies,
Log log)
throws EnforcerRuleException
- Deprecated.
- Checks the set of dependencies against the list of excludes.
- Specified by:
checkDependencies
in class AbstractBanDependencies
- Parameters:
dependencies
- the dependencieslog
- the log
- Returns:
- the sets the
- Throws:
EnforcerRuleException
- the enforcer rule exception
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.