~ubuntu-branches/ubuntu/utopic/maven-enforcer/utopic

« back to all changes in this revision

Viewing changes to enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/NoSnapshots.java

  • Committer: Package Import Robot
  • Author(s): Torsten Werner
  • Date: 2011-09-12 22:30:16 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: package-import@ubuntu.com-20110912223016-e2pk04avoq8bur7t
Tags: 1.0-1
* Team upload
* New upstream release.
* Add more Build-Depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package org.apache.maven.plugins.enforcer;
 
2
 
1
3
/*
2
4
 * Licensed to the Apache Software Foundation (ASF) under one
3
5
 * or more contributor license agreements.  See the NOTICE file
16
18
 * specific language governing permissions and limitations
17
19
 * under the License.
18
20
 */
19
 
package org.apache.maven.plugins.enforcer;
20
21
 
21
22
import java.util.Set;
22
23
 
23
24
import org.apache.maven.enforcer.rule.api.EnforcerRuleException;
24
25
import org.apache.maven.plugin.logging.Log;
25
26
 
26
 
// TODO: Auto-generated Javadoc
27
27
/**
28
28
 * This rule is deprecated. Use requireReleaseVersions.
29
 
 * 
 
29
 *
30
30
 * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
31
 
 * @version $Id: NoSnapshots.java 675992 2008-07-11 15:42:48Z hboutemy $
32
 
 * @deprecated replaced by {@link #RequireReleaseDeps}
 
31
 * @version $Id: NoSnapshots.java 987781 2010-08-21 16:23:40Z dennisl $
 
32
 * @deprecated replaced by {@link RequireReleaseDeps}
33
33
 */
34
34
public class NoSnapshots
35
35
    extends AbstractBanDependencies
37
37
 
38
38
    /**
39
39
     * Checks the set of dependencies to see if any snapshots are included.
40
 
     * 
 
40
     *
41
41
     * @param dependencies the dependencies
42
42
     * @param log the log
43
43
     * @return the sets the