org.apache.maven.plugin.clean
Class CleanMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.clean.CleanMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class CleanMojo
extends org.apache.maven.plugin.AbstractMojo

Goal which cleans the build.

Version:
$Id: CleanMojo.java 379454 2006-02-21 14:00:38Z brett $
Author:
Emmanuel Venisse

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CleanMojo()
           
 
Method Summary
 void addFileset(Fileset fileset)
          Add a fileset to the list of filesets to clean.
 void execute()
           
protected  void setDirectory(java.io.File directory)
           
protected  void setOutputDirectory(java.io.File outputDirectory)
           
protected  void setTestOutputDirectory(java.io.File testOutputDirectory)
           
 
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

CleanMojo

public CleanMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

setDirectory

protected void setDirectory(java.io.File directory)
Parameters:
directory - The directory to set.

setOutputDirectory

protected void setOutputDirectory(java.io.File outputDirectory)
Parameters:
outputDirectory - The outputDirectory to set.

setTestOutputDirectory

protected void setTestOutputDirectory(java.io.File testOutputDirectory)
Parameters:
testOutputDirectory - The testOutputDirectory to set.

addFileset

public void addFileset(Fileset fileset)
Add a fileset to the list of filesets to clean.

Parameters:
fileset - the fileset


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.