org.scijava.maven.plugin
Class VerifyNoSnapshotsMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.scijava.maven.plugin.VerifyNoSnapshotsMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class VerifyNoSnapshotsMojo
- extends org.apache.maven.plugin.AbstractMojo
This plugin fills in gaps in the maven enforcer
plugin's SNAPSHOT dependency checking. For example, the enforcer plugin
will not find parent pom SNAPSHOTs if the direct parent of is a release
version (that is, it trusts release versions to be sane).
This plugin recursively checks the current project, all dependencies, and
parent poms of any of these projects, for SNAPSHOT couplings. Any such
couplings are reported, and cause the goal to fail.
Options:
- failEarly - end execution after first failure (default: false)
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
|
Method Summary |
void |
execute()
Entry point for mojo execution |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VerifyNoSnapshotsMojo
public VerifyNoSnapshotsMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Entry point for mojo execution
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2014 SciJava. All rights reserved.