@Mojo(name="clean") public class EclipseCleanMojo extends AbstractMojo
| Constructor and Description |
|---|
EclipseCleanMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanExtras() |
protected void |
delete(File f)
Delete a file, handling log messages and exceptions
|
void |
execute() |
File |
getBasedir()
Getter for
basedir. |
String |
getPackaging() |
void |
setBasedir(File basedir)
Setter for
basedir. |
void |
setPackaging(String packaging) |
getLog, getPluginContext, setLog, setPluginContextpublic void execute()
throws MojoExecutionException
MojoExecutionExceptionMojo.execute()protected void cleanExtras()
throws MojoExecutionException
MojoExecutionExceptionprotected void delete(File f) throws MojoExecutionException
f - File to be deletedMojoExecutionException - only if a file exists and can't be deletedpublic File getBasedir()
basedir.public void setBasedir(File basedir)
basedir.basedir - The basedir to set.public String getPackaging()
public void setPackaging(String packaging)
packaging - the packaging to setCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.