jacoco:dump
Full name :
org.jacoco:jacoco-maven-plugin:0.8.13-SNAPSHOT:dump
Description :
Request a dump over TCP/IP from a JaCoCo agent running in
tcpserver
mode.
Note concerning parallel builds: While the dump goal as such is thread safe, it has to be considered that TCP/IP server ports of the agents are a shared resource.
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
:
post-integration-test
.
Optional Parameters
Name | Type | Since | Description |
<address>
|
String
|
0.6.4
|
IP address or hostname to connect to.
User property is : jacoco.address
.
|
<append>
|
boolean
|
0.6.4
|
If set to true and the execution data file already exists, coverage
data is appended to the existing file. If set to false, an existing
execution data file will be replaced.
Default value is : true
.
User property is : jacoco.append
.
|
<destFile>
|
File
|
0.6.4
|
Path to the output file for execution data.
Default value is : ${project.build.directory}/jacoco.exec
.
User property is : jacoco.destFile
.
|
<dump>
|
boolean
|
0.6.4
|
Sets whether execution data should be downloaded from the remote
host.
Default value is : true
.
User property is : jacoco.dump
.
|
<port>
|
int
|
0.6.4
|
Port number to connect to. If multiple JaCoCo agents should run on
the same machine, different ports have to be specified for the
agents.
Default value is : 6300
.
User property is : jacoco.port
.
|
<reset>
|
boolean
|
0.6.4
|
Sets whether a reset command should be sent after the execution
data has been dumped.
Default value is : false
.
User property is : jacoco.reset
.
|
<retryCount>
|
int
|
0.6.4
|
Number of retries which the goal will attempt to establish a
connection. This can be used to wait until the target JVM is
successfully launched.
Default value is : 10
.
User property is : jacoco.retryCount
.
|
<skip>
|
boolean
|
0.6.4
|
Flag used to suppress execution.
Default value is : false
.
User property is : jacoco.skip
.
|
Parameter Details
<address>IP address or hostname to connect to.
-
Type
:
java.lang.String
-
Since
:
0.6.4
-
Required
:
No
-
User Property
:
jacoco.address
If set to true and the execution data file already exists, coverage
data is appended to the existing file. If set to false, an existing
execution data file will be replaced.
-
Type
:
boolean
-
Since
:
0.6.4
-
Required
:
No
-
User Property
:
jacoco.append
-
Default
:
true
Path to the output file for execution data.
-
Type
:
java.io.File
-
Since
:
0.6.4
-
Required
:
No
-
User Property
:
jacoco.destFile
-
Default
:
${project.build.directory}/jacoco.exec
Sets whether execution data should be downloaded from the remote
host.
-
Type
:
boolean
-
Since
:
0.6.4
-
Required
:
No
-
User Property
:
jacoco.dump
-
Default
:
true
Port number to connect to. If multiple JaCoCo agents should run on
the same machine, different ports have to be specified for the
agents.
-
Type
:
int
-
Since
:
0.6.4
-
Required
:
No
-
User Property
:
jacoco.port
-
Default
:
6300
Sets whether a reset command should be sent after the execution
data has been dumped.
-
Type
:
boolean
-
Since
:
0.6.4
-
Required
:
No
-
User Property
:
jacoco.reset
-
Default
:
false
Number of retries which the goal will attempt to establish a
connection. This can be used to wait until the target JVM is
successfully launched.
-
Type
:
int
-
Since
:
0.6.4
-
Required
:
No
-
User Property
:
jacoco.retryCount
-
Default
:
10
Flag used to suppress execution.
-
Type
:
boolean
-
Since
:
0.6.4
-
Required
:
No
-
User Property
:
jacoco.skip
-
Default
:
false