Skip to content

Commit 75c5cb8

Browse files
authored
Update pom.xml (#3550)
1 parent 3ca2724 commit 75c5cb8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,9 +312,18 @@
312312
<release>17</release>
313313
<compilerArgs>
314314
<arg>-parameters</arg>
315+
<arg>--add-opens=java.base/java.lang=ALL-UNNAMED</arg>
316+
<arg>--add-opens=java.base/java.util=ALL-UNNAMED</arg>
315317
</compilerArgs>
316318
</configuration>
317319
</plugin>
320+
<plugin>
321+
<groupId>org.apache.maven.plugins</groupId>
322+
<artifactId>maven-surefire-plugin</artifactId>
323+
<configuration>
324+
<argLine>--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED</argLine>
325+
</configuration>
326+
</plugin>
318327
</plugins>
319328
</build>
320329
</profile>

0 commit comments

Comments
 (0)