diff --git a/.github/workflows/test-lang-java.yml b/.github/workflows/test-lang-java.yml
index 94e450f237d..bca1f0b7ae8 100644
--- a/.github/workflows/test-lang-java.yml
+++ b/.github/workflows/test-lang-java.yml
@@ -49,12 +49,11 @@ jobs:
restore-keys: |
${{ runner.os }}-maven-
- - name: 'Setup Temurin JDK 8, 11, 17 & 21'
+ - name: 'Setup Temurin JDK 11, 17 & 21'
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
distribution: 'temurin'
java-version: |
- 8
11
17
21
@@ -93,12 +92,11 @@ jobs:
restore-keys: |
${{ runner.os }}-maven-
- - name: 'Setup Temurin JDK 8, 11, 17 & 21'
+ - name: 'Setup Temurin JDK 11, 17 & 21'
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
distribution: 'temurin'
java-version: |
- 8
11
17
21
@@ -149,10 +147,10 @@ jobs:
working-directory: .
run: mvn -B install -PskipQuality
- - name: 'Generate Interop Data using Java 8, 11, 17 & 21'
+ - name: 'Generate Interop Data using Java 11, 17 & 21'
working-directory: lang/java/interop-data-test
run: mvn -B verify -Pgenerate-test-data
- - name: 'Run Interop Tests using Java 8, 11, 17 & 21'
+ - name: 'Run Interop Tests using Java 11, 17 & 21'
working-directory: lang/java/interop-data-test
run: mvn -B verify -Pcheck-test-data
diff --git a/doc/examples/java-example/pom.xml b/doc/examples/java-example/pom.xml
index ef0d81639de..9c7effb7bd3 100644
--- a/doc/examples/java-example/pom.xml
+++ b/doc/examples/java-example/pom.xml
@@ -49,8 +49,8 @@
maven-compiler-plugin
3.8.1
-
- 1.8
+
+ 11
@@ -75,8 +75,8 @@
maven-plugin
${avro.version}
-
- 1.8
+
+ 11
diff --git a/doc/examples/mr-example/pom.xml b/doc/examples/mr-example/pom.xml
index 9a2a2583075..be6b689b07c 100644
--- a/doc/examples/mr-example/pom.xml
+++ b/doc/examples/mr-example/pom.xml
@@ -39,8 +39,8 @@
maven-compiler-plugin
3.8.1
-
- 1.8
+
+ 11
diff --git a/lang/java/avro/pom.xml b/lang/java/avro/pom.xml
index 172837b5a7c..c4770a92746 100644
--- a/lang/java/avro/pom.xml
+++ b/lang/java/avro/pom.xml
@@ -150,26 +150,6 @@
-
- Run all tests under Java 8
-
- run
-
-
-
- 8
-
-
- 4.11.0
-
-
-
- 8
-
- ${project.build.directory}/it-jdk-8
-
-
-
Run all tests under Java 11
diff --git a/lang/java/interop-data-test/src/it/check/pom.xml b/lang/java/interop-data-test/src/it/check/pom.xml
index f880584dce9..40fd8e39796 100644
--- a/lang/java/interop-data-test/src/it/check/pom.xml
+++ b/lang/java/interop-data-test/src/it/check/pom.xml
@@ -30,7 +30,7 @@
UTF-8
UTF-8
- 8
+ 11
../../../../../..
${main.basedir}/build/interop/data/
diff --git a/lang/java/interop-data-test/src/it/generate/pom.xml b/lang/java/interop-data-test/src/it/generate/pom.xml
index 0464df07d05..fe1f1d3f4d9 100644
--- a/lang/java/interop-data-test/src/it/generate/pom.xml
+++ b/lang/java/interop-data-test/src/it/generate/pom.xml
@@ -30,7 +30,7 @@
UTF-8
UTF-8
- 8
+ 11
../../../../../..
diff --git a/lang/java/thrift/pom.xml b/lang/java/thrift/pom.xml
index 12a20258b42..1140f8ce699 100644
--- a/lang/java/thrift/pom.xml
+++ b/lang/java/thrift/pom.xml
@@ -127,6 +127,12 @@
libthrift
${thrift.version}
+
+ javax.annotation
+ javax.annotation-api
+ 1.3.2
+ test
+
diff --git a/pom.xml b/pom.xml
index e40ebef883c..486452e70ea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -40,8 +40,8 @@
Java artifacts are copied to the final build destination with a custom profile.
-->
- 1.8
- 8
+ 11
+ 11
${project.basedir}
dist
build/avro-doc-${project.version}/api
@@ -51,7 +51,7 @@
3.3.1
10.15.0
3.4.1
- 1.7.0
+ 1.8.0
3.1.0
3.13.0
3.2.3
@@ -180,19 +180,6 @@
org.apache.maven.plugins
maven-toolchains-plugin
-
- Ensure ToolChain for JDK 8 is available
-
- toolchain
-
-
-
-
- 8
-
-
-
-
Ensure ToolChain for JDK 11 is available
@@ -248,13 +235,13 @@
- 8
+ 11
test
provided