public abstract class AbstractScmMojo extends 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(org.apache.maven.scm.ScmResult result) |
void |
execute() |
File |
getBasedir() |
String |
getConnectionUrl() |
String |
getExcludes() |
org.apache.maven.scm.ScmFileSet |
getFileSet() |
String |
getIncludes() |
org.apache.maven.scm.manager.ScmManager |
getScmManager() |
org.apache.maven.scm.repository.ScmRepository |
getScmRepository() |
org.apache.maven.scm.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) |
getLog, getPluginContext, setLog, setPluginContext
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 MojoExecutionException
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 org.apache.maven.scm.manager.ScmManager getScmManager()
public org.apache.maven.scm.ScmFileSet getFileSet() throws IOException
IOException
public org.apache.maven.scm.repository.ScmRepository getScmRepository() throws org.apache.maven.scm.ScmException
org.apache.maven.scm.ScmException
public void checkResult(org.apache.maven.scm.ScmResult result) throws MojoExecutionException
MojoExecutionException
public String getIncludes()
public void setIncludes(String includes)
public String getExcludes()
public void setExcludes(String excludes)
public org.apache.maven.scm.ScmVersion getScmVersion(String versionType, String version) throws MojoExecutionException
MojoExecutionException
protected void handleExcludesIncludesAfterCheckoutAndExport(File checkoutDirectory) throws MojoExecutionException
MojoExecutionException
Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.