org.apache.maven.plugin.eclipse
Class EclipseCleanMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.eclipse.EclipseCleanMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class EclipseCleanMojo
extends org.apache.maven.plugin.AbstractMojo

Deletes the .project, .classpath, .wtpmodules files and .settings folder used by Eclipse.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
EclipseCleanMojo()
           
 
Method Summary
 void execute()
           
 java.io.File getBasedir()
          Getter for basedir.
 void setBasedir(java.io.File basedir)
          Setter for basedir.
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EclipseCleanMojo

public EclipseCleanMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException
See Also:
Mojo.execute()

getBasedir

public java.io.File getBasedir()
Getter for basedir.

Returns:
Returns the basedir.

setBasedir

public void setBasedir(java.io.File basedir)
Setter for basedir.

Parameters:
basedir - The basedir to set.


Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.