Skip to content

Commit dfba4da

Browse files
committed
Add JVM options required to test under Java 16
1 parent 958eb11 commit dfba4da

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,13 @@
151151
</execution>
152152
</executions>
153153
</plugin>
154+
<plugin>
155+
<groupId>org.apache.maven.plugins</groupId>
156+
<artifactId>maven-surefire-plugin</artifactId>
157+
<configuration>
158+
<argLine>--add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED</argLine>
159+
</configuration>
160+
</plugin>
154161
<plugin>
155162
<groupId>org.basepom.maven</groupId>
156163
<artifactId>duplicate-finder-maven-plugin</artifactId>

0 commit comments

Comments
 (0)