cobertura:check

Full name:

org.codehaus.mojo:cobertura-maven-plugin:2.6:check

Description:

Check the Last Instrumentation Results.

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: verify.
  • Invokes the execution of the lifecycle phase test prior to executing itself.
  • Executes in its own lifecycle: cobertura.

Required Parameters

Name Type Since Description
check ConfigCheck - The Check Configuration.
forceMojoExecution boolean 2.5 Usually most of out cobertura mojos will not get executed on parent poms. Setting this parameter to true will force the execution of this mojo, even if it would usually get skipped in this case.
Default value is: false.

Optional Parameters

Name Type Since Description
maxmem String - Maximum memory to pass JVM as -Xmx of Cobertura processes.
Default value is: 64m.
quiet boolean - Only output coberura errors, avoid info messages.
Default value is: false.
skip boolean 2.5 When true, skip the execution.
Default value is: false.

Parameter Details

check:

  • Type: org.codehaus.mojo.cobertura.configuration.ConfigCheck
  • Required: Yes

forceMojoExecution:

Usually most of out cobertura mojos will not get executed on parent poms. Setting this parameter to true will force the execution of this mojo, even if it would usually get skipped in this case.
  • Type: boolean
  • Since: 2.5
  • Required: Yes
  • Expression: ${cobertura.force}
  • Default: false

maxmem:

Maximum memory to pass JVM as -Xmx of Cobertura processes.
  • Type: java.lang.String
  • Required: No
  • Expression: ${cobertura.maxmem}
  • Default: 64m

quiet:

Only output coberura errors, avoid info messages.
  • Type: boolean
  • Required: No
  • Expression: ${quiet}
  • Default: false

skip:

When true, skip the execution.
  • Type: boolean
  • Since: 2.5
  • Required: No
  • Expression: ${cobertura.skip}
  • Default: false