1 | |
package org.apache.maven.plugin.eclipse; |
2 | |
|
3 | |
import java.io.File; |
4 | |
|
5 | |
import org.apache.maven.plugin.MojoExecutionException; |
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | 0 | public class MyEclipseCleanMojo |
16 | |
extends EclipseCleanMojo |
17 | |
{ |
18 | |
|
19 | |
|
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 | |
} |