com.atlassian.maven.plugin.clover
Class CloverCleanMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.atlassian.maven.plugin.clover.internal.AbstractCloverMojo
          extended by com.atlassian.maven.plugin.clover.CloverCleanMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class CloverCleanMojo
extends AbstractCloverMojo

The clover2:clean goal should be run directly from the command line, when you are developing using the clover test runner optimizer. This mojo ensures that the file required by Clover to optimize your test is not deleted between builds. Unfortunately, the implementation is not optimal. It will be a lot simpler however if the patch attached to http://jira.codehaus.org/browse/MCLEAN-38 is applied. Then, this plugin can simply set the maven.clean.excludes property.


Field Summary
 
Fields inherited from class com.atlassian.maven.plugin.clover.internal.AbstractCloverMojo
license, licenseLocation, skip
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CloverCleanMojo()
           
 
Method Summary
 void execute()
          The comma-delimited includes patterns to use when deleting the default directory locations.
 
Methods inherited from class com.atlassian.maven.plugin.clover.internal.AbstractCloverMojo
areCloverDatabasesAvailable, getCloverDatabase, getCloverMergeDatabase, getFlushInterval, getFlushPolicy, getJdk, getProject, getResourceAsFile, getResourceManager, getWaitForFlush, registerCloverAntTasks, registerLicenseFile, registerLicenseFile, setLicense, setLicenseLocation, setProject, setResourceManager, waitForFlush
 
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

CloverCleanMojo

public CloverCleanMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
The comma-delimited includes patterns to use when deleting the default directory locations.

Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class AbstractCloverMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
Since:
2.3
See Also:
Mojo.execute()


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.