Fix jacoco - pass args to failsafe and surefire plugins (#2473)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
8
pom.xml
8
pom.xml
@@ -526,7 +526,7 @@
|
|||||||
<useSystemClassLoader>false</useSystemClassLoader>
|
<useSystemClassLoader>false</useSystemClassLoader>
|
||||||
<reuseForks>true</reuseForks>
|
<reuseForks>true</reuseForks>
|
||||||
<forkCount>${surefire.forkcount}</forkCount>
|
<forkCount>${surefire.forkcount}</forkCount>
|
||||||
<argLine>${surefire.jvm.args}</argLine>
|
<argLine>${jacoco.agent.args} ${surefire.jvm.args}</argLine>
|
||||||
<properties>
|
<properties>
|
||||||
<property>
|
<property>
|
||||||
<name>listener</name>
|
<name>listener</name>
|
||||||
@@ -550,7 +550,7 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<reuseForks>false</reuseForks>
|
<reuseForks>false</reuseForks>
|
||||||
<forkCount>${failsafe.forkcount}</forkCount>
|
<forkCount>${failsafe.forkcount}</forkCount>
|
||||||
<argLine>${failsafe.jvm.args}</argLine>
|
<argLine>${jacoco.agent.integration.args} ${failsafe.jvm.args}</argLine>
|
||||||
<properties>
|
<properties>
|
||||||
<property>
|
<property>
|
||||||
<name>listener</name>
|
<name>listener</name>
|
||||||
@@ -580,7 +580,7 @@
|
|||||||
<goal>prepare-agent</goal>
|
<goal>prepare-agent</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<propertyName>jacocoAgentArgs</propertyName>
|
<propertyName>jacoco.agent.args</propertyName>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
<execution>
|
<execution>
|
||||||
@@ -590,7 +590,7 @@
|
|||||||
<goal>prepare-agent-integration</goal>
|
<goal>prepare-agent-integration</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<propertyName>jacocoAgentIntegrationArgs</propertyName>
|
<propertyName>jacoco.agent.integration.args</propertyName>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
<execution>
|
<execution>
|
||||||
|
|||||||
Reference in New Issue
Block a user