jacoco:report
Note :This goal should be used as a Maven report.
Full name :
org.jacoco:jacoco-maven-plugin:0.8.13-SNAPSHOT:report
Description :
Creates a code coverage report for tests of a single project in
multiple formats (HTML, XML, and CSV).
Attributes :
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
-
Since version:
0.5.3
. -
Binds by default to the
lifecycle phase
:
verify
.
Optional Parameters
Name | Type | Since | Description |
<dataFile>
|
File
|
0.5.3
|
File with execution data.
Default value is : ${project.build.directory}/jacoco.exec
.
User property is : jacoco.dataFile
.
|
<excludes>
|
List
|
0.5.3
|
A list of class files to exclude from the report. May use wildcard
characters (* and ?). When not specified nothing will be excluded.
|
<footer>
|
String
|
0.7.7
|
Footer text used in HTML report pages.
|
<formats>
|
List
|
0.8.7
|
A list of report formats to generate. Supported formats are HTML,
XML and CSV. Defaults to all formats if no values are given.
Default value is : HTML,XML,CSV
.
|
<includes>
|
List
|
0.5.3
|
A list of class files to include in the report. May use wildcard
characters (* and ?). When not specified everything will be
included.
|
<outputDirectory>
|
File
|
0.5.3
|
Output directory for the reports. Note that this parameter is only
relevant if the goal is run from the command line or from the
default build lifecycle. If the goal is run indirectly as part of a
site generation, the output directory configured in the Maven Site
Plugin is used instead.
Default value is : ${project.reporting.outputDirectory}/jacoco
.
|
<outputEncoding>
|
String
|
0.5.3
|
Encoding of the generated reports.
Default value is : UTF-8
.
User property is : project.reporting.outputEncoding
.
|
<skip>
|
boolean
|
0.5.3
|
Flag used to suppress execution.
Default value is : false
.
User property is : jacoco.skip
.
|
<sourceEncoding>
|
String
|
0.5.3
|
Encoding of the source files.
Default value is : UTF-8
.
User property is : project.build.sourceEncoding
.
|
<title>
|
String
|
0.7.7
|
Name of the root node HTML report pages.
Default value is : ${project.name}
.
|
Parameter Details
<dataFile>File with execution data.
-
Type
:
java.io.File
-
Since
:
0.5.3
-
Required
:
No
-
User Property
:
jacoco.dataFile
-
Default
:
${project.build.directory}/jacoco.exec
A list of class files to exclude from the report. May use wildcard
characters (* and ?). When not specified nothing will be excluded.
-
Type
:
java.util.List
-
Since
:
0.5.3
-
Required
:
No
Footer text used in HTML report pages.
-
Type
:
java.lang.String
-
Since
:
0.7.7
-
Required
:
No
A list of report formats to generate. Supported formats are HTML,
XML and CSV. Defaults to all formats if no values are given.
-
Type
:
java.util.List
-
Since
:
0.8.7
-
Required
:
No
-
Default
:
HTML,XML,CSV
A list of class files to include in the report. May use wildcard
characters (* and ?). When not specified everything will be
included.
-
Type
:
java.util.List
-
Since
:
0.5.3
-
Required
:
No
Output directory for the reports. Note that this parameter is only
relevant if the goal is run from the command line or from the
default build lifecycle. If the goal is run indirectly as part of a
site generation, the output directory configured in the Maven Site
Plugin is used instead.
-
Type
:
java.io.File
-
Since
:
0.5.3
-
Required
:
No
-
Default
:
${project.reporting.outputDirectory}/jacoco
Encoding of the generated reports.
-
Type
:
java.lang.String
-
Since
:
0.5.3
-
Required
:
No
-
User Property
:
project.reporting.outputEncoding
-
Default
:
UTF-8
Flag used to suppress execution.
-
Type
:
boolean
-
Since
:
0.5.3
-
Required
:
No
-
User Property
:
jacoco.skip
-
Default
:
false
Encoding of the source files.
-
Type
:
java.lang.String
-
Since
:
0.5.3
-
Required
:
No
-
User Property
:
project.build.sourceEncoding
-
Default
:
UTF-8
Name of the root node HTML report pages.
-
Type
:
java.lang.String
-
Since
:
0.7.7
-
Required
:
No
-
Default
:
${project.name}