@Mojo(name="clean",
defaultPhase=INITIALIZE)
public class CloverCleanMojo
extends AbstractCloverMojo
AbstractCloverMojo.cloverOutputDirectory contents and the AbstractCloverMojo.snapshot file used for test optimization.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
keepDb
A flag to indicate to keep the clover.db but purge all coverage data and other files when clover:clean is run.
|
protected boolean |
skip
A flag to indicate not to run clover:clean for this execution.
|
cloverOutputDirectory, debug, license, licenseLocation, snapshot| Constructor and Description |
|---|
CloverCleanMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
areCloverDatabasesAvailable, getCloverDatabase, getCloverMergeDatabase, getDescendantModuleProjects, getFlushInterval, getModuleProjects, getProject, getReactorProjects, getResourceAsFile, getWaitForFlush, isLastProjectInReactor, isModuleOfProject, isSingleCloverDatabase, registerCloverAntTasks, resolveCloverDatabase, setLicense, setLicenseLocation, setProject, waitForFlushgetLog, getPluginContext, setLog, setPluginContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLog@Parameter(property="maven.clover.clean.skip",
defaultValue="false")
protected boolean skip
@Parameter(property="maven.clover.clean.keepDb",
defaultValue="false")
protected boolean keepDb
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
AbstractCloverMojoexecute in interface org.apache.maven.plugin.Mojoexecute in class AbstractCloverMojoorg.apache.maven.plugin.MojoExecutionExceptionMojo.execute()Copyright © 2019 OpenClover.org. All rights reserved.