org.apache.maven.scm.plugin
Class BootstrapMojo

java.lang.Object
  extended by AbstractMojo
      extended by org.apache.maven.scm.plugin.AbstractScmMojo
          extended by org.apache.maven.scm.plugin.CheckoutMojo
              extended by org.apache.maven.scm.plugin.BootstrapMojo

public class BootstrapMojo
extends CheckoutMojo

Pull the project source from the configured scm and execute the configured goals.

Version:
$Id: BootstrapMojo.java 733515 2009-01-11 20:37:15Z dantran $
Author:
Dan T. Tran

Constructor Summary
BootstrapMojo()
           
 
Method Summary
protected  java.lang.String determineWorkingDirectoryPath(java.io.File checkoutDirectory, java.lang.String relativePathProjectDirectory, java.lang.String goalsDirectory)
          Determines the path of the working directory.
 void execute()
          
 
Methods inherited from class org.apache.maven.scm.plugin.CheckoutMojo
checkout, getCheckoutDirectory, getCheckoutResult, setCheckoutDirectory
 
Methods inherited from class org.apache.maven.scm.plugin.AbstractScmMojo
checkResult, getConnectionUrl, getExcludes, getFileSet, getIncludes, getScmManager, getScmRepository, getScmVersion, getWorkingDirectory, setConnectionType, setConnectionUrl, setExcludes, setIncludes, setWorkingDirectory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BootstrapMojo

public BootstrapMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException

Overrides:
execute in class CheckoutMojo
Throws:
MojoExecutionException

determineWorkingDirectoryPath

protected java.lang.String determineWorkingDirectoryPath(java.io.File checkoutDirectory,
                                                         java.lang.String relativePathProjectDirectory,
                                                         java.lang.String goalsDirectory)
Determines the path of the working directory. By default, this is the checkout directory. For some SCMs, the project root directory is not the checkout directory itself, but a SCM-specific subdirectory. The build can furthermore optionally be executed in a subdirectory of this project directory, in case.

Parameters:
checkoutDirectory -
relativePathProjectDirectory -
goalsDirectory -
Returns:


Copyright © 2003-2011. All Rights Reserved.