|
||||||||||
| 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.CloverInstrumentInternalMojo
com.atlassian.maven.plugin.clover.CloverSetupMojo
public class CloverSetupMojo
This mojo is to be used mainly for incremental instrumentation and compilation of Java source code.
NB: This does not, nor should it, run in a forked lifecycle. This mojo should certainly *not* be called during a release build. This mojo instruments your source and test files to ${build.directory}/clover/src-optimized and test-src-optimized respectively. These directories are then set as the project's source and test source directories that subsequently get compiled by the compiler MOJO.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.maven.plugin.clover.internal.AbstractCloverMojo |
|---|
cloverOutputDirectory, debug, license, licenseLocation, skip, snapshot |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
CloverSetupMojo()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
protected java.lang.String |
getSrcName()
|
protected java.lang.String |
getSrcTestName()
|
protected void |
redirectArtifact()
Modify main artifact to add a "clover" classifier to it so that it's not mixed with the main artifact of a normal build. |
protected void |
redirectOutputDirectories()
|
| Methods inherited from class com.atlassian.maven.plugin.clover.CloverInstrumentInternalMojo |
|---|
copyExcludedFiles, findCloverArtifact, getDistributedCoverage, getEncoding, getExcludes, getIncludes, getInstrumentation, getMethodContexts, getOriginalSrcDir, getOriginalSrcTestDir, getStaleMillis, getStatementContexts, includesAllSourceRoots, isUseFullyQualifiedJavaLang, resetSrcDirsOriginal, setArtifactFactory, setArtifactResolver, swizzleCloverDependencies |
| 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.CompilerConfiguration |
|---|
getFlushInterval, getFlushPolicy, getJdk |
| Methods inherited from interface com.atlassian.maven.plugin.clover.internal.CloverConfiguration |
|---|
getCloverDatabase, getLog, getProject, getReactorProjects, isSingleCloverDatabase, resolveCloverDatabase |
| Constructor Detail |
|---|
public CloverSetupMojo()
| Method Detail |
|---|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
CloverInstrumentInternalMojo
execute in interface org.apache.maven.plugin.Mojoexecute in class CloverInstrumentInternalMojoorg.apache.maven.plugin.MojoExecutionExceptionAbstractCloverMojo.execute()protected java.lang.String getSrcName()
getSrcName in class CloverInstrumentInternalMojoprotected java.lang.String getSrcTestName()
getSrcTestName in class CloverInstrumentInternalMojoprotected void redirectOutputDirectories()
redirectOutputDirectories in class CloverInstrumentInternalMojoprotected void redirectArtifact()
CloverInstrumentInternalMojo
redirectArtifact in class CloverInstrumentInternalMojo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||