|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
com.atlassian.maven.plugin.clover.internal.AbstractCloverMojo
com.atlassian.maven.plugin.clover.CloverSnapshotMojo
public class CloverSnapshotMojo
Saves a Clover snapshot to the filesystem. A clover snapshot must be saved after all tests have been run. It is used by subsequent invocations of clover2:optimize to determine which tests get run. Therefore, this file must persist between clean builds. This is possible by using one of the following techniques: 1) set the 'snapshot' (-Dmaven.clover.snapshot) configuration to a location outside the target directory 2) leave the snapshot file in the default location 'target/clover/clover.db.snapshot' and do a clean build with the clover2:clean goal. clover2:clean will delete everything the clean plugin does, however will ensure that the snapshot file does not get deleted.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.maven.plugin.clover.internal.AbstractCloverMojo |
|---|
license, licenseLocation, skip, snapshot |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
CloverSnapshotMojo()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
| Methods inherited from class com.atlassian.maven.plugin.clover.internal.AbstractCloverMojo |
|---|
areCloverDatabasesAvailable, getCloverDatabase, getCloverMergeDatabase, getFlushInterval, getFlushPolicy, getJdk, getProject, getReactorProjects, getResourceAsFile, getResourceManager, getWaitForFlush, isSingleCloverDatabase, registerCloverAntTasks, registerLicenseFile, registerLicenseFile, resolveCloverDatabase, 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 |
| Methods inherited from interface com.atlassian.maven.plugin.clover.internal.CloverConfiguration |
|---|
getLog |
| Constructor Detail |
|---|
public CloverSnapshotMojo()
| Method Detail |
|---|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
AbstractCloverMojo
execute in interface org.apache.maven.plugin.Mojoexecute in class AbstractCloverMojoorg.apache.maven.plugin.MojoExecutionExceptionMojo.execute()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||