jacocotogo:batch

Full name:

org.helmetsrequired:jacocotogo-maven-plugin:1.1:batch

Description:

Retrieves JaCoCo execution data from multiple sources, and optionally, merge the results.

Attributes:

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

Required Parameters

Name Type Since Description
sources List 1.1 a List of Source from which JaCoCo execution data should be fetched.

Optional Parameters

Name Type Since Description
failOnError boolean 1.1 Whether the build should be failed if JaCoCo execution data can not be fetched
Default value is: false.
merge boolean 1.1 Whether to generate a merged file from the individually collected JaCoCo execution data.
Default value is: false.
mergeFile File 1.1 The file where merged JaCoCo execution data should be written.
Default value is: ${project.build.directory}/jacocotogo/merged.exec.
outputDir File 1.1 The output directory to use as a default. Can be overridden by specifying the source.outputFile and mergeFile parameters.
Default value is: ${project.build.directory}/jacocotogo.

Parameter Details

failOnError:

Whether the build should be failed if JaCoCo execution data can not be fetched
  • Type: boolean
  • Since: 1.1
  • Required: No
  • Default: false

merge:

Whether to generate a merged file from the individually collected JaCoCo execution data.
  • Type: boolean
  • Since: 1.1
  • Required: No
  • Default: false

mergeFile:

The file where merged JaCoCo execution data should be written.
  • Type: java.io.File
  • Since: 1.1
  • Required: No
  • Default: ${project.build.directory}/jacocotogo/merged.exec

outputDir:

The output directory to use as a default. Can be overridden by specifying the source.outputFile and mergeFile parameters.
  • Type: java.io.File
  • Since: 1.1
  • Required: No
  • Default: ${project.build.directory}/jacocotogo

sources:

a List of Source from which JaCoCo execution data should be fetched.
  • Type: java.util.List
  • Since: 1.1
  • Required: Yes