jacoco:merge
Full name:
org.jacoco:jacoco-maven-plugin:0.7.1.201405082137:merge
Description:
Mojo for merging a set of execution data files (*.exec) into a
single file
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- Since version:
0.6.4
. - Binds by default to the lifecycle phase:
generate-resources
.
Required Parameters
Name | Type | Since | Description |
fileSets |
List
|
0.6.4
|
This mojo accepts any number of execution data file sets. Note that
you need an implementation hint on fileset with
Maven 2 (not needed with Maven 3):
|
Optional Parameters
Name | Type | Since | Description |
destFile |
File
|
0.6.4
|
Path to the output file for execution data. Default value is: ${project.build.directory}/jacoco.exec . |
excludes |
List
|
0.6.4
|
A list of class files to exclude from
instrumentation/analysis/reports. May use wildcard characters (*
and ?). When not specified nothing will be excluded. |
includes |
List
|
0.6.4
|
A list of class files to include in
instrumentation/analysis/reports. May use wildcard characters (*
and ?). When not specified everything will be included. |
skip |
boolean
|
0.6.4
|
Flag used to suppress execution. Default value is: false . |
Parameter Details
Path to the output file for execution data.
-
Type:
java.io.File
-
Since:
0.6.4
-
Required:
No
-
Expression:
${jacoco.destFile}
-
Default:
${project.build.directory}/jacoco.exec
A list of class files to exclude from
instrumentation/analysis/reports. May use wildcard characters (*
and ?). When not specified nothing will be excluded.
-
Type:
java.util.List
-
Since:
0.6.4
-
Required:
No
This mojo accepts any number of execution data file sets. Note that
you need an implementation hint on fileset with
Maven 2 (not needed with Maven 3):
<fileSets>
<fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
<directory>${project.parent.build.directory}</directory>
<includes>
<include>*.exec</include>
</includes>
</fileSet>
</fileSets>
-
Type:
java.util.List
-
Since:
0.6.4
-
Required:
Yes
-
Expression:
${jacoco.fileSets}
A list of class files to include in
instrumentation/analysis/reports. May use wildcard characters (*
and ?). When not specified everything will be included.
-
Type:
java.util.List
-
Since:
0.6.4
-
Required:
No
skip:
Flag used to suppress execution.
-
Type:
boolean
-
Since:
0.6.4
-
Required:
No
-
Expression:
${jacoco.skip}
-
Default:
false