com.atlassian.maven.plugin.clover
Class CloverInstrumentTestMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.atlassian.maven.plugin.clover.internal.AbstractCloverMojo
com.atlassian.maven.plugin.clover.internal.AbstractCloverInstrumentMojo
com.atlassian.maven.plugin.clover.CloverInstrumentMojo
com.atlassian.maven.plugin.clover.CloverInstrumentTestMojo
- All Implemented Interfaces:
- CloverConfiguration, CompilerConfiguration, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class CloverInstrumentTestMojo
- extends CloverInstrumentMojo
This goal behaves exactly like the instrument goal, however when forking the lifecycle - it runs only to the 'test'
phase instead of all the way to the 'install' phase.
This goal should be used as an optimization - ie. if the phases after 'test' take a very long time to run.
Instrument all sources using Clover and forks a custom lifecycle to execute project's tests on the instrumented
code so that a Clover database is created.
| Fields inherited from class com.atlassian.maven.plugin.clover.internal.AbstractCloverInstrumentMojo |
cloveredArtifactExpiryInMillis, copyExcludedFiles, distributedCoverage, encoding, excludes, excludesList, flushPolicy, groverJar, includes, includesAllSourceRoots, includesList, includesTestSourceRoots, instrumentation, jdk, methodContexts, scope, setTestFailureIgnore, skipGroverJar, staleMillis, statementContexts, useCloverClassifier, useFullyQualifiedJavaLang |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class com.atlassian.maven.plugin.clover.internal.AbstractCloverInstrumentMojo |
getDistributedCoverage, getEncoding, getExcludes, getFlushPolicy, getIncludes, getInstrumentation, getInstrumentLambda, getJdk, getMethodContexts, getStaleMillis, getStatementContexts, isCopyExcludedFiles, isIncludesAllSourceRoots, isUseFullyQualifiedJavaLang |
| Methods inherited from class com.atlassian.maven.plugin.clover.internal.AbstractCloverMojo |
areCloverDatabasesAvailable, getCloverDatabase, getCloverMergeDatabase, getDescendentModuleProjects, getFlushInterval, getModuleProjects, getProject, getReactorProjects, getResourceAsFile, getResourceManager, getWaitForFlush, isLastProjectInReactor, isModuleOfProject, 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 |
CloverInstrumentTestMojo
public CloverInstrumentTestMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
-
- Specified by:
execute in interface org.apache.maven.plugin.Mojo- Overrides:
execute in class CloverInstrumentMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException- See Also:
AbstractCloverMojo.execute()
Copyright © 2015 Atlassian Pty Ltd. All Rights Reserved.