Update surefire plugin config.

This commit is contained in:
Olga Maciaszek-Sharma
2022-11-30 22:55:50 +01:00
parent 0cde956b7e
commit fd1c364323

View File

@@ -223,6 +223,14 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- Sets the VM argument line used when unit tests are run. -->
<argLine>${surefireArgLine} --add-opens=java.base/java.net=ALL-UNNAMED</argLine>
</configuration>
</plugin>
</plugins>
</build>
</profile>