diff --git a/jdk-profiles/pom.xml b/jdk-profiles/pom.xml
index 54f309b6897..73e89524be5 100644
--- a/jdk-profiles/pom.xml
+++ b/jdk-profiles/pom.xml
@@ -31,14 +31,45 @@
24.08.0-SNAPSHOT
- jdk9plus
-
- 1.8
-
+ jdk8
+ 8
+
+
+
+
+
+ net.alchim31.maven
+ scala-maven-plugin
+ ${scala.plugin.version}
+
+ ${java.major.version}
+
+
+
+
+
+
+
+ jdk9plus
+
[9,)
+
+
+
+
+ net.alchim31.maven
+ scala-maven-plugin
+ ${scala.plugin.version}
+
+ ${java.major.version}
+
+
+
+
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 4173c14b470..f36542817bf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1361,7 +1361,6 @@ This will force full Scala code rebuild in downstream modules.
true
true
${scala.recompileMode}
- ${java.major.version}
-unchecked
-deprecation
@@ -1554,11 +1553,11 @@ This will force full Scala code rebuild in downstream modules.
Minimum Maven version 3.6.x required
[3.6,)
+
Only Java 8, 11, and 17 are supported!
[1.8,1.9),[11,12),[17,18)
-
buildver
^(?!400).*$
@@ -1566,6 +1565,10 @@ This will force full Scala code rebuild in downstream modules.
[9,)
+
+
+
+
+ net.alchim31.maven
+ scala-maven-plugin
+ ${scala.plugin.version}
+
+ ${java.major.version}
+
+
+
+
+
\ No newline at end of file
diff --git a/scala2.13/pom.xml b/scala2.13/pom.xml
index 07d697a7497..b65bb8cc746 100644
--- a/scala2.13/pom.xml
+++ b/scala2.13/pom.xml
@@ -1361,7 +1361,6 @@ This will force full Scala code rebuild in downstream modules.
true
true
${scala.recompileMode}
- ${java.major.version}
-unchecked
-deprecation
@@ -1554,11 +1553,11 @@ This will force full Scala code rebuild in downstream modules.
Minimum Maven version 3.6.x required
[3.6,)
+
+
+ Build for Scala 2.13 is only available with Java 17+
+ [17,)
+
Unexpected buildver value ${buildver} for a Scala 2.13 build, only Apache Spark versions 3.3.0 (330) and higher are supported, no vendor builds such as 330db
buildver