Address some warnings in maven execution

This commit is contained in:
Chris Eager
2024-11-11 18:02:28 -06:00
committed by Chris Eager
parent 444f6ca826
commit 744042e8c8
3 changed files with 29 additions and 3 deletions

View File

@@ -698,8 +698,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- work around PATCH not being a supported method on HttpUrlConnection -->
<argLine>--add-opens=java.base/java.net=ALL-UNNAMED</argLine>
<!-- add-opens: work around PATCH not being a supported method on HttpUrlConnection -->
<argLine>-javaagent:${org.mockito:mockito-core:jar} --add-opens=java.base/java.net=ALL-UNNAMED</argLine>
</configuration>
</plugin>