Coverage Report - org.apache.maven.plugin.eclipse.MyEclipseCleanMojo
 
Classes in this File Line Coverage Branch Coverage Complexity
MyEclipseCleanMojo
0%
0/6
N/A
1
 
 1  
 package org.apache.maven.plugin.eclipse;
 2  
 
 3  
 import java.io.File;
 4  
 
 5  
 import org.apache.maven.plugin.MojoExecutionException;
 6  
 
 7  
 /**
 8  
  * Deletes configuration files used by MyEclipse
 9  
  * 
 10  
  * @author Olivier Jacob
 11  
  * @goal myeclipse-clean
 12  
  * @since 2.5
 13  
  * @phase
 14  
  */
 15  0
 public class MyEclipseCleanMojo
 16  
     extends EclipseCleanMojo
 17  
 {
 18  
     /**
 19  
      * @throws MojoExecutionException
 20  
      */
 21  
     protected void cleanExtras()
 22  
         throws MojoExecutionException
 23  
     {
 24  0
         delete( new File( getBasedir(), ".mymetadata" ) );
 25  0
         delete( new File( getBasedir(), ".mystrutsdata" ) );
 26  0
         delete( new File( getBasedir(), ".myhibernatedata" ) );
 27  0
         delete( new File( getBasedir(), ".springBeans" ) );
 28  0
     }
 29  
 }