public abstract class AbstractScmMojo extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected static String[] |
VALID_VERSION_TYPES |
protected static String |
VERSION_TYPE_BRANCH |
protected static String |
VERSION_TYPE_REVISION |
protected static String |
VERSION_TYPE_TAG |
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) |
protected static final String VERSION_TYPE_BRANCH
protected static final String VERSION_TYPE_REVISION
protected static final String VERSION_TYPE_TAG
protected static final String[] VALID_VERSION_TYPES
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–2024 The Apache Software Foundation. All rights reserved.