org.apache.maven.plugins.release
Class CleanReleaseMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugins.release.AbstractReleaseMojo
          extended by org.apache.maven.plugins.release.CleanReleaseMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class CleanReleaseMojo
extends AbstractReleaseMojo

Clean up after a release preparation. This is done automatically after a successful release:perform, so is best served for cleaning up a failed or abandoned release, or a dry run. Note that only the working copy is cleaned up, no previous steps are rolled back. For more info see http://maven.apache.org/plugins/maven-release-plugin/examples/clean-release.html.

Version:
$Id: CleanReleaseMojo.java 1329473 2012-04-23 21:58:55Z rfscholte $
Author:
Brett Porter
Aggregates the Maven project and its child modules.
Is defined by the goal name:
clean

Field Summary
 
Fields inherited from class org.apache.maven.plugins.release.AbstractReleaseMojo
mavenHome, project, releaseManager, session
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CleanReleaseMojo()
           
 
Method Summary
 void execute()
          
 
Methods inherited from class org.apache.maven.plugins.release.AbstractReleaseMojo
addArgument, createReleaseDescriptor, getAdditionalProfiles, getBasedir, getReactorProjects, getReleaseEnvironment, mergeCommandLineConfig, setBasedir
 
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
 

Constructor Detail

CleanReleaseMojo

public CleanReleaseMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException,
                    MojoFailureException

Specified by:
execute in interface Mojo
Overrides:
execute in class AbstractReleaseMojo
Throws:
MojoExecutionException
MojoFailureException


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.