Class AbstractPublisherMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.sonatype.central.publisher.plugin.AbstractPublisherMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
PublishMojo
public abstract class AbstractPublisherMojo
extends org.apache.maven.plugin.AbstractMojo
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidprotected abstract voidvoidexecute()protected org.apache.maven.artifact.factory.ArtifactFactoryprotected org.apache.maven.execution.MavenSessionprotected org.apache.maven.plugin.MojoExecutionprotected MojoUtilsprotected Stringprotected Stringprotected Stringprotected ProjectUtilsprotected booleanprotected booleanvoidMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
AbstractPublisherMojo
public AbstractPublisherMojo()
-
-
Method Details
-
getMavenSession
protected org.apache.maven.execution.MavenSession getMavenSession() -
getMojoExecution
protected org.apache.maven.plugin.MojoExecution getMojoExecution() -
getArtifactFactory
protected org.apache.maven.artifact.factory.ArtifactFactory getArtifactFactory() -
getMojoUtils
-
getProjectUtils
-
getPluginGroupId
-
getPluginArtifactId
-
isFailOnBuildFailure
protected boolean isFailOnBuildFailure() -
isSkipPublishing
protected boolean isSkipPublishing() -
getPluginGav
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
validateParameters
public void validateParameters() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
doExecute
protected abstract void doExecute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
doValidateParameters
protected abstract void doValidateParameters() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-