Skip to content

Commit 51bac0d

Browse files
committed
Fix generation of JaCoCo when building for Java 11
Configuration of surefire plugin includes `<argLine>` and this currently overide property defined by JaCoCo. Applying recommendation from https://www.jacoco.org/jacoco/trunk/doc/prepare-agent-mojo.html to fix that.
1 parent 21282d3 commit 51bac0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1544,7 +1544,7 @@
15441544
<artifactId>maven-surefire-plugin</artifactId>
15451545
<configuration>
15461546
<argLine>
1547-
--illegal-access=permit
1547+
@{argLine} --illegal-access=permit
15481548
</argLine>
15491549
</configuration>
15501550
</plugin>

0 commit comments

Comments
 (0)