Package org.apache.maven.scm.plugin
Class AbstractScmMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.scm.plugin.AbstractScmMojo
- All Implemented Interfaces:
 org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
 AddMojo,BranchMojo,ChangeLogMojo,CheckinMojo,CheckLocalModificationsMojo,CheckoutMojo,DiffMojo,EditMojo,ExportMojo,ListMojo,RemoveMojo,StatusMojo,TagMojo,UnEditMojo,UntagMojo,UpdateMojo,UpdateSubprojectsMojo,ValidateMojo
- Author:
 - Emmanuel Venisse, Olivier Lamy
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String[]protected static final Stringprotected static final Stringprotected static final StringFields inherited from interface org.apache.maven.plugin.Mojo
ROLE - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidcheckResult(ScmResult result) voidexecute()getScmVersion(String versionType, String version) protected voidhandleExcludesIncludesAfterCheckoutAndExport(File checkoutDirectory) protected voidsetConnectionType(String connectionType) voidsetConnectionUrl(String connectionUrl) voidsetExcludes(String excludes) voidsetIncludes(String includes) voidsetWorkingDirectory(File workingDirectory) Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext 
- 
Field Details
- 
VERSION_TYPE_BRANCH
- See Also:
 
 - 
VERSION_TYPE_REVISION
- See Also:
 
 - 
VERSION_TYPE_TAG
- See Also:
 
 - 
VALID_VERSION_TYPES
 
 - 
 - 
Constructor Details
- 
AbstractScmMojo
public AbstractScmMojo() 
 - 
 - 
Method Details
- 
execute
- Throws:
 org.apache.maven.plugin.MojoExecutionException
 - 
setConnectionType
 - 
getConnectionUrl
 - 
setConnectionUrl
 - 
getWorkingDirectory
 - 
getBasedir
 - 
setWorkingDirectory
 - 
getScmManager
 - 
getFileSet
- Throws:
 IOException
 - 
getScmRepository
- Throws:
 ScmException
 - 
checkResult
- Throws:
 org.apache.maven.plugin.MojoExecutionException
 - 
getIncludes
 - 
setIncludes
 - 
getExcludes
 - 
setExcludes
 - 
getScmVersion
public ScmVersion getScmVersion(String versionType, String version) throws org.apache.maven.plugin.MojoExecutionException - Throws:
 org.apache.maven.plugin.MojoExecutionException
 - 
handleExcludesIncludesAfterCheckoutAndExport
protected void handleExcludesIncludesAfterCheckoutAndExport(File checkoutDirectory) throws org.apache.maven.plugin.MojoExecutionException - Throws:
 org.apache.maven.plugin.MojoExecutionException
 
 -