Class CommonsDistributionStagingMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.commons.release.plugin.mojos.CommonsDistributionStagingMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="stage-distributions", defaultPhase=DEPLOY, threadSafe=true, aggregator=true) public final class CommonsDistributionStagingMojo extends org.apache.maven.plugin.AbstractMojo
Checks out the dev distribution location, copies the distributions into that directory structure under the target/commons-release-plugin/scm directory, and commits the distributions back to SVN. Includes the built and zipped site as well as the RELEASE-NOTES.txt file.
Since:
1.0
  • Field Summary

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected void
    setBaseDir(File baseDir)
    Sets the baseDir field for use in unit tests.

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException
    • setBaseDir

      protected void setBaseDir(File baseDir)
      Sets the baseDir field for use in unit tests.
      Parameters:
      baseDir - is the File to be used as the project's root directory when this mojo is invoked.