Package org.apache.maven.plugin.idea
Class IdeaCleanMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.maven.plugin.idea.IdeaCleanMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
public class IdeaCleanMojo extends org.apache.maven.plugin.AbstractMojoRemoves all existing IDEA files for the project.
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.maven.project.MavenProjectproject
-
Constructor Summary
Constructors Constructor Description IdeaCleanMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voiddeleteFile(java.io.File file)voidexecute()private java.io.FilegetIdeaFile(java.lang.String extension)
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
getIdeaFile
private java.io.File getIdeaFile(java.lang.String extension)
-
deleteFile
private void deleteFile(java.io.File file)
-
-