org.apache.maven.scm.plugin
public abstract class AbstractScmMojo extends org.apache.maven.plugin.AbstractMojo
Constructor and Description |
---|
AbstractScmMojo() |
Modifier and Type | Method and Description |
---|---|
void |
checkResult(ScmResult result) |
void |
execute() |
File |
getBasedir() |
String |
getConnectionUrl() |
String |
getExcludes() |
ScmFileSet |
getFileSet() |
String |
getIncludes() |
ScmManager |
getScmManager() |
ScmRepository |
getScmRepository() |
ScmVersion |
getScmVersion(String versionType,
String version) |
File |
getWorkingDirectory() |
protected void |
handleExcludesIncludesAfterCheckoutAndExport(File checkoutDirectory) |
protected void |
setConnectionType(String connectionType) |
void |
setConnectionUrl(String connectionUrl) |
void |
setExcludes(String excludes) |
void |
setIncludes(String includes) |
void |
setWorkingDirectory(File workingDirectory) |
public AbstractScmMojo()
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void setConnectionType(String connectionType)
public String getConnectionUrl()
public void setConnectionUrl(String connectionUrl)
public File getWorkingDirectory()
public File getBasedir()
public void setWorkingDirectory(File workingDirectory)
public ScmManager getScmManager()
public ScmFileSet getFileSet() throws IOException
IOException
public ScmRepository getScmRepository() throws ScmException
ScmException
public void checkResult(ScmResult result) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public String getIncludes()
public void setIncludes(String includes)
public String getExcludes()
public void setExcludes(String excludes)
public ScmVersion getScmVersion(String versionType, String version) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void handleExcludesIncludesAfterCheckoutAndExport(File checkoutDirectory) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.