com.atlassian.maven.plugin.clover
Class CloverCheckMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.atlassian.maven.plugin.clover.internal.AbstractCloverMojo
com.atlassian.maven.plugin.clover.CloverCheckMojo
- All Implemented Interfaces:
- CloverConfiguration, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class CloverCheckMojo
- extends AbstractCloverMojo
Verify Test Percentage Coverage (TPC) from an existing Clover database and fail the build if it is below the defined
threshold. The check is done on main Clover databases and also on merged Clover databases when they exist.
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
CloverCheckMojo
public CloverCheckMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
-
- Specified by:
execute in interface org.apache.maven.plugin.Mojo- Overrides:
execute in class AbstractCloverMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException - when the TPC is below the threshold- See Also:
AbstractCloverMojo.execute()
Copyright © 2015 Atlassian Pty Ltd. All Rights Reserved.