diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c58141b258..7a4e6b6a78 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -12,7 +12,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
# choosing to run a reduced set of LTS, current, and next, to balance coverage and execution time
- java: [11, 17, 21]
+ java: [8, 17, 21]
fail-fast: false
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}
steps:
diff --git a/pom.xml b/pom.xml
index 79907101ec..60164f3153 100644
--- a/pom.xml
+++ b/pom.xml
@@ -60,22 +60,8 @@
1.8
-
- compile-java-9
- compile
-
- compile
-
-
- 9
-
- ${project.basedir}/src/main/java9
-
- true
-
-
+
-
@@ -300,6 +286,44 @@
+
+
+ compile-multi-release
+
+ [9,2000)
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+
+ compile-java-8
+
+ 8
+
+
+
+ compile-java-9
+ compile
+
+ compile
+
+
+ 9
+
+ ${project.basedir}/src/main/java9
+
+ true
+
+
+
+
+
+
+
+
release-sign-artifacts