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
- All Implemented Interfaces:
- EnforcerRule
Deprecated. replaced by RequireReleaseDeps
public class NoSnapshots
- extends AbstractBanDependencies
This rule is deprecated. Use requireReleaseVersions.
- Version:
- $Id: NoSnapshots.java 987781 2010-08-21 16:23:40Z dennisl $
- Author:
- Brian Fox
Method Summary |
protected Set |
checkDependencies(Set dependencies,
org.apache.maven.plugin.logging.Log log)
Deprecated. Checks the set of dependencies to see if any snapshots are included. |
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 checkDependencies(Set dependencies,
org.apache.maven.plugin.logging.Log log)
throws EnforcerRuleException
- Deprecated.
- Checks the set of dependencies to see if any snapshots are included.
- 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 Apache Software Foundation. All Rights Reserved.