@Mojo(name="rad-clean") public class RadCleanMojo extends EclipseCleanMojo
| Constructor and Description | 
|---|
| RadCleanMojo() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | cleanExtras() | 
| protected void | deleteJarArtifactsInDirectory(File directory)delete all Jar artifacts in the specified directory. | 
| protected void | deleteWarArtifactsInDirectory(File directory)delete all War artifacts in the specified directory (cleaning up EAR's for example). | 
| MavenProject | getProject()getter for the instancevarriable project. | 
| void | setProject(MavenProject project)getter for the instancevarriable project. | 
delete, execute, getBasedir, getPackaging, setBasedir, setPackaginggetLog, getPluginContext, setLog, setPluginContextprotected void cleanExtras()
                    throws MojoExecutionException
cleanExtras in class EclipseCleanMojoMojoExecutionExceptionpublic MavenProject getProject()
public void setProject(MavenProject project)
project - the maven project decriptorprotected void deleteJarArtifactsInDirectory(File directory) throws MojoExecutionException
directory - to delete the jars fromMojoExecutionException - only if a file exists and can't be deletedprotected void deleteWarArtifactsInDirectory(File directory) throws MojoExecutionException
directory - to delete the wars fromMojoExecutionException - only if a file exists and can't be deletedCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.