Package org.apache.maven.plugins.release
Class CleanReleaseMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.release.AbstractReleaseMojo
org.apache.maven.plugins.release.CleanReleaseMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
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 https://maven.apache.org/plugins/maven-release-plugin/usage/clean-release.html.- Author:
- Brett Porter
-
Field Summary
Fields inherited from class org.apache.maven.plugins.release.AbstractReleaseMojo
project, releaseManager, session
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.maven.plugins.release.AbstractReleaseMojo
addArgument, createReleaseDescriptor, getAdditionalProfiles, getBasedir, getProject, getReactorProjects, getReleaseEnvironment, setBasedir, setPomFileName
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
CleanReleaseMojo
public CleanReleaseMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-