org.apache.maven.plugins.enforcer
Class NoSnapshots

java.lang.Object
  extended by org.apache.maven.plugins.enforcer.AbstractStandardEnforcerRule
      extended by org.apache.maven.plugins.enforcer.AbstractNonCacheableEnforcerRule
          extended by org.apache.maven.plugins.enforcer.AbstractBanDependencies
              extended by 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

Field Summary
 
Fields inherited from class org.apache.maven.plugins.enforcer.AbstractStandardEnforcerRule
message
 
Constructor Summary
NoSnapshots()
          Deprecated.  
 
Method Summary
protected  java.util.Set checkDependencies(java.util.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 org.apache.maven.plugins.enforcer.AbstractBanDependencies
execute, getDependenciesToCheck, getErrorMessage, getMessage, isSearchTransitive, setMessage, setSearchTransitive
 
Methods inherited from class org.apache.maven.plugins.enforcer.AbstractNonCacheableEnforcerRule
getCacheId, isCacheable, isResultValid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoSnapshots

public NoSnapshots()
Deprecated. 
Method Detail

checkDependencies

protected java.util.Set checkDependencies(java.util.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 dependencies
log - the log
Returns:
the sets the
Throws:
EnforcerRuleException - the enforcer rule exception


Copyright © 2007-2012 Apache Software Foundation. All Rights Reserved.