Package org.apache.maven.scm.plugin
Class BootstrapMojo
- java.lang.Object
- 
- org.apache.maven.plugin.AbstractMojo
- 
- org.apache.maven.scm.plugin.AbstractScmMojo
- 
- org.apache.maven.scm.plugin.CheckoutMojo
- 
- org.apache.maven.scm.plugin.BootstrapMojo
 
 
 
 
- 
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled,- org.apache.maven.plugin.Mojo
 
 @Mojo(name="bootstrap", requiresProject=false) public class BootstrapMojo extends CheckoutMojoPull the project source from the configured scm and execute the configured goals.- Author:
- Dan T. Tran
 
- 
- 
Field Summary- 
Fields inherited from class org.apache.maven.scm.plugin.AbstractScmMojoVALID_VERSION_TYPES, VERSION_TYPE_BRANCH, VERSION_TYPE_REVISION, VERSION_TYPE_TAG
 
- 
 - 
Constructor SummaryConstructors Constructor Description BootstrapMojo(ScmManager manager, org.apache.maven.settings.crypto.SettingsDecrypter settingsDecrypter)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringdetermineWorkingDirectoryPath(File checkoutDirectory, String relativePathProjectDirectory, String goalsDirectory)Determines the path of the working directory.voidexecute()- 
Methods inherited from class org.apache.maven.scm.plugin.CheckoutMojocheckout, getCheckoutDirectory, getCheckoutResult, setCheckoutDirectory
 - 
Methods inherited from class org.apache.maven.scm.plugin.AbstractScmMojocheckResult, getBasedir, getConnectionUrl, getExcludes, getFileSet, getIncludes, getScmManager, getScmRepository, getScmVersion, getWorkingDirectory, handleExcludesIncludesAfterCheckoutAndExport, setConnectionType, setConnectionUrl, setExcludes, setIncludes, setWorkingDirectory
 
- 
 
- 
- 
- 
Constructor Detail- 
BootstrapMojo@Inject public BootstrapMojo(ScmManager manager, org.apache.maven.settings.crypto.SettingsDecrypter settingsDecrypter) 
 
- 
 - 
Method Detail- 
executepublic void execute() throws org.apache.maven.plugin.MojoExecutionException - Specified by:
- executein interface- org.apache.maven.plugin.Mojo
- Overrides:
- executein class- CheckoutMojo
- Throws:
- org.apache.maven.plugin.MojoExecutionException
 
 - 
determineWorkingDirectoryPathprotected String determineWorkingDirectoryPath(File checkoutDirectory, String relativePathProjectDirectory, 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 an SCM-specific subdirectory. The build can furthermore optionally be executed in a subdirectory of this project directory, in case.- Parameters:
- checkoutDirectory-
- relativePathProjectDirectory-
- goalsDirectory-
- Returns:
- TODO
 
 
- 
 
-