From 1a94bbcdc7b197f1167652e894de093ab7cf7be2 Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Mon, 26 Apr 2021 00:56:56 +0300 Subject: [PATCH] [Build] Specify release in maven-compiler-plugin configuration on JDK11 (#10343) * Specify release in maven-compiler-plugin configuration * Use "8" instead of "1.8" (cherry picked from commit e5a2c5f272808163fd8c588e3e4badc6b5e70ca3) --- pom.xml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 258fabb9e4b15..1cec75ae0c828 100644 --- a/pom.xml +++ b/pom.xml @@ -74,6 +74,9 @@ flexible messaging model and an intuitive client API. + 8 + 8 + * @@ -1505,13 +1508,30 @@ flexible messaging model and an intuitive client API. - jdk11-tests + jdk11 [11,) + + + ${maven.compiler.target} + --add-opens java.base/jdk.internal.loader=ALL-UNNAMED + + + + + maven-compiler-plugin + + + ${maven.compiler.release} + + + + + coverage