diff options
author | gjoranv <gv@verizonmedia.com> | 2021-11-09 00:29:57 +0100 |
---|---|---|
committer | gjoranv <gv@verizonmedia.com> | 2021-11-09 00:30:51 +0100 |
commit | c0804015e390244502702923a096f1155e8690f4 (patch) | |
tree | 9e8aa2e18f594de2fa73dd892184e4818cbd49cf /controller-server/pom.xml | |
parent | 392df0c921930dd27194564eee1836f368be7955 (diff) |
JDK 17: add-opens for LogFileHandler
Diffstat (limited to 'controller-server/pom.xml')
-rw-r--r-- | controller-server/pom.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/controller-server/pom.xml b/controller-server/pom.xml index 3b2949f6964..1f5bd9b4dd7 100644 --- a/controller-server/pom.xml +++ b/controller-server/pom.xml @@ -239,6 +239,18 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <forkCount>2</forkCount> + <!-- Illegal reflective access by LogFileHandler via com.yahoo.io.NativeIO --> + <argLine> + --add-opens=java.base/java.io=ALL-UNNAMED + </argLine> + </configuration> + </plugin> </plugins> </build> </project> |