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).
|
org.apache.maven.project.MavenProject |
getProject()
getter for the instancevarriable project.
|
void |
setProject(org.apache.maven.project.MavenProject project)
getter for the instancevarriable project.
|
delete, execute, getBasedir, getPackaging, setBasedir, setPackagingprotected void cleanExtras()
throws org.apache.maven.plugin.MojoExecutionException
cleanExtras in class EclipseCleanMojoorg.apache.maven.plugin.MojoExecutionExceptionpublic org.apache.maven.project.MavenProject getProject()
public void setProject(org.apache.maven.project.MavenProject project)
project - the maven project decriptorprotected void deleteJarArtifactsInDirectory(File directory) throws org.apache.maven.plugin.MojoExecutionException
directory - to delete the jars fromorg.apache.maven.plugin.MojoExecutionException - only if a file exists and can't be deletedprotected void deleteWarArtifactsInDirectory(File directory) throws org.apache.maven.plugin.MojoExecutionException
directory - to delete the wars fromorg.apache.maven.plugin.MojoExecutionException - only if a file exists and can't be deletedCopyright © 2002–2021 The Apache Software Foundation. All rights reserved.