org.apache.maven.plugin.clean
Class CleanMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
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
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
CleanMojo
public CleanMojo()
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-2010 Apache Software Foundation. All Rights Reserved.