org.apache.maven.scm.plugin
Class UpdateMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.scm.plugin.AbstractScmMojo
          extended by org.apache.maven.scm.plugin.UpdateMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class UpdateMojo
extends AbstractScmMojo

Update the local working copy with the latest source from the configured scm url.

Version:
$Id: UpdateMojo.java 685670 2008-08-13 20:25:56Z vsiveton $
Author:
Emmanuel Venisse

Field Summary
private  org.apache.maven.project.MavenProject project
          The maven project.
private  String revisionKey
          The project property where to store the revision name.
private  boolean runChangelog
          Run Changelog after update.
private  String scmVersion
          The version (revision number/branch name/tag name).
private  String scmVersionType
          The version type (branch/tag/revision) of scmVersion.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
UpdateMojo()
           
 
Method Summary
 void execute()
          
 
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
 

Field Detail

scmVersionType

private String scmVersionType
The version type (branch/tag/revision) of scmVersion.


scmVersion

private String scmVersion
The version (revision number/branch name/tag name).


revisionKey

private String revisionKey
The project property where to store the revision name.


project

private org.apache.maven.project.MavenProject project
The maven project.


runChangelog

private boolean runChangelog
Run Changelog after update.

Constructor Detail

UpdateMojo

public UpdateMojo()
Method Detail

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


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.