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

    Fields
    Modifier and Type
    Field
    Description
    private boolean
    Forcing the deletion of the custom build.xml.
    private org.apache.maven.project.MavenProject
    The working project.

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void

    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 Details

    • project

      @Parameter(defaultValue="${project}", readonly=true, required=true) private org.apache.maven.project.MavenProject project
      The working project.
    • deleteCustomFiles

      @Parameter(property="deleteCustomFiles", defaultValue="false") private boolean deleteCustomFiles
      Forcing the deletion of the custom build.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