Skip to content

Commit 1819600

Browse files
authored
Property set by jacoco:prepare-agent should be taken into account in java17 and java21 profiles (#4972)
1 parent 119b4e8 commit 1819600

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@
399399
<groupId>org.apache.maven.plugins</groupId>
400400
<artifactId>maven-surefire-plugin</artifactId>
401401
<configuration>
402-
<argLine>--add-opens=java.base/java.util=ALL-UNNAMED</argLine>
402+
<argLine>@{argLine} --add-opens=java.base/java.util=ALL-UNNAMED</argLine>
403403
</configuration>
404404
<executions>
405405
<execution>
@@ -463,7 +463,7 @@
463463
<groupId>org.apache.maven.plugins</groupId>
464464
<artifactId>maven-surefire-plugin</artifactId>
465465
<configuration>
466-
<argLine>--add-opens=java.base/java.util=ALL-UNNAMED</argLine>
466+
<argLine>@{argLine} --add-opens=java.base/java.util=ALL-UNNAMED</argLine>
467467
</configuration>
468468
</plugin>
469469
</plugins>

0 commit comments

Comments
 (0)