diff --git a/pom.xml b/pom.xml
index 90608e9..8335e7e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -125,6 +125,7 @@
yyyy-MM-dd'T'HH:mm
${maven.build.timestamp}
1.8
+ 8
${compileSource}
@@ -173,6 +174,44 @@
true
+
+
+ -Xmx1536m -XX:ReservedCodeCacheSize=512m
+ ${argLine} ${spark-ut.args}
+
+ 4g
+ -enableassertions -Xmx${failsafe.Xmx}
+ -Djava.security.egd=file:/dev/./urandom -XX:+CMSClassUnloadingEnabled
+ -verbose:gc -XX:+PrintCommandLineFlags -XX:+PrintFlagsFinal -XX:+IgnoreUnrecognizedVMOptions
+ ${argLine} ${spark-it.args}
+ -Djava.security.manager=allow
+
+ -Dorg.apache.hbase.thirdparty.io.netty.tryReflectionSetAccessible=true
+ --add-modules jdk.unsupported
+ --add-opens java.base/java.io=ALL-UNNAMED
+ --add-opens java.base/java.nio=ALL-UNNAMED
+ --add-opens java.base/sun.nio.ch=ALL-UNNAMED
+ --add-opens java.base/java.lang=ALL-UNNAMED
+ --add-opens java.base/jdk.internal.ref=ALL-UNNAMED
+ --add-opens java.base/java.lang.reflect=ALL-UNNAMED
+ --add-opens java.base/java.util=ALL-UNNAMED
+ --add-opens java.base/java.util.concurrent=ALL-UNNAMED
+ --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
+ --add-exports java.security.jgss/sun.security.krb5=ALL-UNNAMED
+ --add-exports java.base/sun.net.dns=ALL-UNNAMED
+ --add-exports java.base/sun.net.util=ALL-UNNAMED
+
+
+ --add-opens=java.base/java.lang.invoke=ALL-UNNAMED
+ --add-opens=java.base/java.net=ALL-UNNAMED
+ --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED
+ --add-opens=java.base/sun.nio.cs=ALL-UNNAMED
+ --add-opens=java.base/sun.security.action=ALL-UNNAMED
+ --add-opens=java.base/sun.util.calendar=ALL-UNNAMED
+ -Djdk.reflect.useDirectMethodHandle=false
+ -Dio.netty.tryReflectionSetAccessible=true
+
@@ -935,6 +974,40 @@
+
+ build-with-jdk8
+
+ 1.8
+
+
+ ${compileSource}
+ ${compileSource}
+
+
+
+ build-with-jdk11
+
+ [11,)
+
+
+ ${releaseTarget}
+ ${hbase-surefire.jdk11.flags} ${spark-surefire.jdk11.flags}
+ ${hbase-surefire.argLine}
+ ${jacocoArgLine}
+
+
+
+ build-with-jdk17
+
+ [17,)
+
+
+ ${hbase-surefire.jdk11.flags} ${spark-surefire.jdk11.flags}
+ ${hbase-surefire.jdk17.flags} ${spark-surefire.jdk17.flags}
+ ${hbase-surefire.argLine}
+ ${jacocoArgLine}
+
+
osx-aarch64
diff --git a/spark/hbase-spark-it/pom.xml b/spark/hbase-spark-it/pom.xml
index d8d548d..31adbc7 100644
--- a/spark/hbase-spark-it/pom.xml
+++ b/spark/hbase-spark-it/pom.xml
@@ -34,8 +34,6 @@
**/Test*.java
**/IntegrationTest*.java
-
- 4g
@@ -278,9 +276,7 @@
1800
- -enableassertions -Xmx${failsafe.Xmx}
- -Djava.security.egd=file:/dev/./urandom -XX:+CMSClassUnloadingEnabled
- -verbose:gc -XX:+PrintCommandLineFlags -XX:+PrintFlagsFinal
+ ${spark-it.argLine}
diff --git a/spark/hbase-spark/pom.xml b/spark/hbase-spark/pom.xml
index 3b3670b..58fb5b0 100644
--- a/spark/hbase-spark/pom.xml
+++ b/spark/hbase-spark/pom.xml
@@ -438,27 +438,6 @@
-
-
- org.codehaus.gmaven
- gmaven-plugin
- 1.5
-
-
-
- execute
-
- validate
-
-
-
-
-
-
net.alchim31.maven
scala-maven-plugin
@@ -468,8 +447,6 @@
${scala.version}
-feature
-
${target.jvm}
${compileSource}
@@ -511,7 +488,7 @@
test
- -Xmx1536m -XX:ReservedCodeCacheSize=512m
+ ${spark-ut.argLine}
false
diff --git a/spark/pom.xml b/spark/pom.xml
index b770e6b..573b904 100644
--- a/spark/pom.xml
+++ b/spark/pom.xml
@@ -49,6 +49,7 @@
Please take caution when this version is modified -->
2.12.15
2.12
+ -target:jvm-1.8