Skip to content

Commit 7fbb2f6

Browse files
committed
build: fix JaCoCo report generation.
Prior this commit it didn't work with the following message: [INFO] Skipping JaCoCo execution due to missing execution data file. Regression after aa43861 (#1164) Fix #1239 [skip ci]
1 parent e18d66c commit 7fbb2f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pom.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -916,8 +916,10 @@
916916
Workaround for a bug in surefire plugin: it doesn't respect sourceEncoding
917917
and doesn't pass it into a forked process.
918918
See: https://stackoverflow.com/questions/17656475/maven-source-encoding-in-utf-8-not-working
919+
920+
NB: @{argLine} is needed for JaCoCo java agent.
919921
-->
920-
<argLine>-Dfile.encoding=${project.build.sourceEncoding} -Xss256k</argLine>
922+
<argLine>@{argLine} -Dfile.encoding=${project.build.sourceEncoding} -Xss256k</argLine>
921923
</configuration>
922924
</plugin>
923925

0 commit comments

Comments
 (0)