- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- CoberturaCheckIntegrationTestMojo
public class CoberturaCheckMojo
extends AbstractCoberturaMojo
Check the coverage percentages for unit tests from the last instrumentation,
and optionally fail the build if the targets are not met. To fail the build
you need to set
configuration/check/haltOnFailure=true
in the plugin's
configuration.
- Author:
- Joakim Erdfelt
- Is bound to the specified phase of the standard build lifecycle:
- verify
- Is defined by the goal name:
- check
- Is defined to be executed in:
- phase:
- test
- lifecycle:
- cobertura