Package org.apache.maven.plugin.ant
Class AntCleanMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.ant.AntCleanMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="clean")
public class AntCleanMojo
extends org.apache.maven.plugin.AbstractMojo
Clean all Ant build files.
- Version:
- $Id: AntCleanMojo.java 1640228 2014-11-17 21:20:42Z hboutemy $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
Forcing the deletion of the custombuild.xml
.private org.apache.maven.project.MavenProject
The working project.Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
project
@Parameter(defaultValue="${project}", readonly=true, required=true) private org.apache.maven.project.MavenProject projectThe working project. -
deleteCustomFiles
@Parameter(property="deleteCustomFiles", defaultValue="false") private boolean deleteCustomFilesForcing the deletion of the custombuild.xml
.- Since:
- 2.2
-
-
Constructor Details
-
AntCleanMojo
public AntCleanMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-