org.apache.maven.scm.plugin
Class ExportMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.scm.plugin.AbstractScmMojo
org.apache.maven.scm.plugin.ExportMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class ExportMojo
- extends AbstractScmMojo
Get a fresh exported copy of the latest source from the configured scm url.
- Version:
- $Id: ExportMojo.java 928132 2010-03-27 03:39:51Z dantran $
- Author:
- Emmanuel Venisse
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.apache.maven.scm.plugin.AbstractScmMojo |
checkResult, getConnectionUrl, getExcludes, getFileSet, getIncludes, getScmManager, getScmRepository, getScmVersion, getWorkingDirectory, handleExcludesIncludesAfterCheckoutAndExport, setConnectionType, setConnectionUrl, setExcludes, setIncludes, setWorkingDirectory |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scmVersionType
private String scmVersionType
- The version type (branch/tag/revision) of scmVersion.
scmVersion
private String scmVersion
- The version (revision number/branch name/tag name).
exportDirectory
private File exportDirectory
- The directory to export the sources to.
skipExportIfExists
private boolean skipExportIfExists
- Skip export if exportDirectory exists.
ExportMojo
public ExportMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
-
- Specified by:
execute
in interface org.apache.maven.plugin.Mojo
- Overrides:
execute
in class AbstractScmMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
getExportDirectory
protected File getExportDirectory()
setExportDirectory
public void setExportDirectory(File exportDirectory)
export
protected void export()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.