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
  • 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

      protected MojoUtils getMojoUtils()
    • getProjectUtils

      protected ProjectUtils getProjectUtils()
    • getPluginGroupId

      protected String getPluginGroupId()
    • getPluginArtifactId

      protected String getPluginArtifactId()
    • isFailOnBuildFailure

      protected boolean isFailOnBuildFailure()
    • isSkipPublishing

      protected boolean isSkipPublishing()
    • getPluginGav

      protected String 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