Package org.honton.chas.exists
Class AbstractExistsMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.honton.chas.exists.AbstractExistsMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
LocalExistsMojo,RemoteExistsMojo
public abstract class AbstractExistsMojo
extends org.apache.maven.plugin.AbstractMojo
Set a property if the artifact in a local or remote repository is same as the just built
artifact.
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
AbstractExistsMojo
public AbstractExistsMojo()
-
-
Method Details
-
getRemoteChecksum
- Throws:
Exception
-
getRepositoryBase
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getPropertyName
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
isSnapshot
protected boolean isSnapshot() -
checkArtifactExists
- Throws:
Exception
-