Package org.apache.maven.scm.plugin
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 AbstractScmMojoGet a fresh copy of the latest source from the configured scm url.- Author:
- Emmanuel Venisse
 
- 
- 
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 CheckoutMojo(ScmManager manager, org.apache.maven.settings.crypto.SettingsDecrypter settingsDecrypter)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ScmResultcheckout()voidexecute()protected FilegetCheckoutDirectory()protected ScmResultgetCheckoutResult()voidsetCheckoutDirectory(File checkoutDirectory)- 
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- 
CheckoutMojo@Inject public CheckoutMojo(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- AbstractScmMojo
- Throws:
- org.apache.maven.plugin.MojoExecutionException
 
 - 
getCheckoutDirectoryprotected File getCheckoutDirectory() 
 - 
setCheckoutDirectorypublic void setCheckoutDirectory(File checkoutDirectory) 
 - 
checkoutprotected ScmResult checkout() throws org.apache.maven.plugin.MojoExecutionException - Throws:
- org.apache.maven.plugin.MojoExecutionException
 
 - 
getCheckoutResultprotected ScmResult getCheckoutResult() 
 
- 
 
-