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, setPackaging
protected void cleanExtras() throws org.apache.maven.plugin.MojoExecutionException
cleanExtras
in class EclipseCleanMojo
org.apache.maven.plugin.MojoExecutionException
public 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–2023 The Apache Software Foundation. All rights reserved.