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

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

Field Summary
 
Fields inherited from class org.apache.maven.plugins.enforcer.AbstractStandardEnforcerRule
message
 
Constructor Summary
NoSnapshots()
          Deprecated.  
 
Method Summary
protected  Set<Artifact> checkDependencies(Set<Artifact> dependencies, 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, 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 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 dependencies
log - the log
Returns:
the sets the
Throws:
EnforcerRuleException - the enforcer rule exception


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