Class CheckoutMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.scm.plugin.AbstractScmMojo
org.apache.maven.scm.plugin.CheckoutMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
BootstrapMojo

@Mojo(name="checkout", requiresProject=false) public class CheckoutMojo extends AbstractScmMojo
Get a fresh copy of the latest source from the configured scm url.
Author:
Emmanuel Venisse
  • Constructor Details

  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Specified by:
      execute in interface org.apache.maven.plugin.Mojo
      Overrides:
      execute in class AbstractScmMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • getCheckoutDirectory

    • setCheckoutDirectory

      public void setCheckoutDirectory(File checkoutDirectory)
    • checkout

      protected ScmResult checkout() throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • getCheckoutResult