diff options
author | gjoranv <gv@verizonmedia.com> | 2021-11-05 00:39:19 +0100 |
---|---|---|
committer | gjoranv <gv@verizonmedia.com> | 2021-11-09 23:41:42 +0100 |
commit | 55b3bcf006dc5f9e22d3f25a9e02954ba3cf69f9 (patch) | |
tree | 9362542175cf82f63c77d30993a2eb67bac9ef7c /athenz-identity-provider-service | |
parent | fbd8a77e99f0b495b6400f91f67aea2d92f2cadc (diff) |
JDK 17: add-opens for guice
Diffstat (limited to 'athenz-identity-provider-service')
-rw-r--r-- | athenz-identity-provider-service/pom.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/athenz-identity-provider-service/pom.xml b/athenz-identity-provider-service/pom.xml index 65777957d86..08b436436e1 100644 --- a/athenz-identity-provider-service/pom.xml +++ b/athenz-identity-provider-service/pom.xml @@ -147,6 +147,16 @@ </compilerArgs> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <!-- Illegal reflective access by guice. TODO: try to remove for guice >3.0 --> + <argLine> + --add-opens=java.base/java.lang=ALL-UNNAMED + </argLine> + </configuration> + </plugin> </plugins> </build> |