org.ops4j.pax.construct.lifecycle
Class SqueakyCleanMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.ops4j.pax.construct.lifecycle.SqueakyCleanMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

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

Remove generated IDE files, but support limited recovery during the same build session.
So 'mvn pax:clean pax:eclipse' won't wipe out your Eclipse metadata on a compile error.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
SqueakyCleanMojo()
           
 
Method Summary
 void execute()
          
protected static void recoverMetaData(org.apache.maven.plugin.AbstractMojo mojo)
          Recover previously cached IDE files from the current Maven session
 
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

SqueakyCleanMojo

public SqueakyCleanMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException

Throws:
org.apache.maven.plugin.MojoExecutionException

recoverMetaData

protected static void recoverMetaData(org.apache.maven.plugin.AbstractMojo mojo)
Recover previously cached IDE files from the current Maven session

Parameters:
mojo - currently executing mojo


Copyright © 2007-2008 OPS4J. All Rights Reserved.