From 0ea0357bdcca934d49082cc64197d1263c0eed20 Mon Sep 17 00:00:00 2001 From: Gera Shegalov Date: Sat, 28 Oct 2023 07:55:02 -0700 Subject: [PATCH] Document skipping JDK enforcement - single profile to cover JDK9+ Signed-off-by: Gera Shegalov --- CONTRIBUTING.md | 3 +++ jdk-profiles/pom.xml | 6 ++++-- scala2.13/jdk-profiles/pom.xml | 6 ++++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3071cb04fe3..e1c0f061fba 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -203,6 +203,9 @@ mvn clean verify -Dbuildver=330 -P If you omit `-PjdkXY` the corresponding JDK profile will be activated implicitly based on the detected JDK version executing the Maven build. +If you need to build with a JDK version that we do not test internally add +`-Denforcer.skipRules=requireJavaVersion` to the Maven invocation. + ### Building and Testing with ARM To build our project on ARM platform, please add `-Parm64` to your Maven commands. diff --git a/jdk-profiles/pom.xml b/jdk-profiles/pom.xml index e9a408ef7af..d9488a8259d 100644 --- a/jdk-profiles/pom.xml +++ b/jdk-profiles/pom.xml @@ -24,13 +24,14 @@ rapids-4-spark-parent_2.12 23.12.0-SNAPSHOT + com.nvidia rapids-4-spark-jdk-profiles_2.12 pom Shim JDK Profiles 23.12.0-SNAPSHOT - jdk11plus + jdk9plus 4.6.1 ${java.specification.version} @@ -38,7 +39,8 @@ ${maven.compiler.source} - [11,17] + + [9,) diff --git a/scala2.13/jdk-profiles/pom.xml b/scala2.13/jdk-profiles/pom.xml index 96eab74ec49..5e730d89469 100644 --- a/scala2.13/jdk-profiles/pom.xml +++ b/scala2.13/jdk-profiles/pom.xml @@ -24,13 +24,14 @@ rapids-4-spark-parent_2.13 23.12.0-SNAPSHOT + com.nvidia rapids-4-spark-jdk-profiles_2.13 pom Shim JDK Profiles 23.12.0-SNAPSHOT - jdk11plus + jdk9plus 4.6.1 ${java.specification.version} @@ -38,7 +39,8 @@ ${maven.compiler.source} - [11,17] + + [9,)