From 6295dccc21480323037f00f9d9639d3176285db0 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Tue, 25 Oct 2022 22:14:58 -0400 Subject: [PATCH] chore: Add java17 profile in jar-parent for graalvm (#8676) * chore: Add in os-login graalvm profile * chore: Add java17 profile * chore: Add --add-opens for java.lang --- google-cloud-jar-parent/pom.xml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/google-cloud-jar-parent/pom.xml b/google-cloud-jar-parent/pom.xml index a89777d05492..09736950ecf7 100644 --- a/google-cloud-jar-parent/pom.xml +++ b/google-cloud-jar-parent/pom.xml @@ -136,6 +136,32 @@ + + java17 + + [17,) + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + --add-opens=java.base/java.time=ALL-UNNAMED + --add-opens=java.base/java.math=ALL-UNNAMED + --add-opens=java.base/sun.security.rsa=ALL-UNNAMED + --add-opens=java.base/sun.security.pkcs=ALL-UNNAMED + --add-opens=java.base/sun.security.x509=ALL-UNNAMED + --add-opens=java.base/sun.security.util=ALL-UNNAMED + --add-opens=java.base/java.security=ALL-UNNAMED + --add-opens=java.base/java.lang=ALL-UNNAMED + + + + + +