scoverage:check-only

Full name:

org.scoverage:scoverage-maven-plugin:1.0.1:check-only

Description:

Checks if coverage minimum reached without forking scoverage life cycle.

Check is performed using available SCoverage data, for example generated by SCoverageCheckMojo (or SCoverageReportMojo) earlier in the build (or in previous build if it was not cleaned afterwards).

Attributes:

  • Requires a Maven project to be executed.
  • Since version: 1.0.0.

Optional Parameters

Name Type Since Description
failOnMinimumCoverage boolean 1.0.0 Fail the build if minimum coverage was not reached.

See https://github.com/scoverage/sbt-scoverage#minimum-coverage for additional documentation.

Default value is: false.
User property is: scoverage.failOnMinimumCoverage.
minimumCoverage Double 1.0.0 Required minimum coverage.

See https://github.com/scoverage/sbt-scoverage#minimum-coverage for additional documentation.

Default value is: 0.
User property is: scoverage.minimumCoverage.
skip boolean 1.0.0 Allows SCoverage to be skipped.

Default value is: false.
User property is: scoverage.skip.

Parameter Details

failOnMinimumCoverage:

Fail the build if minimum coverage was not reached.

See https://github.com/scoverage/sbt-scoverage#minimum-coverage for additional documentation.
  • Type: boolean
  • Since: 1.0.0
  • Required: No
  • User Property: scoverage.failOnMinimumCoverage
  • Default: false

minimumCoverage:

Required minimum coverage.

See https://github.com/scoverage/sbt-scoverage#minimum-coverage for additional documentation.
  • Type: java.lang.Double
  • Since: 1.0.0
  • Required: No
  • User Property: scoverage.minimumCoverage
  • Default: 0

skip:

Allows SCoverage to be skipped.
  • Type: boolean
  • Since: 1.0.0
  • Required: No
  • User Property: scoverage.skip
  • Default: false