public class EclipseCleanMojo
extends org.apache.maven.plugin.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) |
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionMojo.execute()protected void cleanExtras()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void delete(File f) throws org.apache.maven.plugin.MojoExecutionException
f - File to be deletedorg.apache.maven.plugin.MojoExecutionException - 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–2021 The Apache Software Foundation. All rights reserved.