From dddff08d3c08eec46d0d4a66d307bf9d94e147d7 Mon Sep 17 00:00:00 2001 From: Konrad Windszus Date: Fri, 13 Oct 2023 12:20:53 +0200 Subject: [PATCH] GitHub Actions: build with JDK21 Drop build support for Java 8 --- .github/workflows/maven.yml | 2 +- pom.xml | 55 ++----------------------------------- 2 files changed, 4 insertions(+), 53 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index a0814e08..dc69ce4f 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -7,7 +7,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] - jdk: [8, 11, 17] + jdk: [11, 17, 21] include: # lengthy build steps should only be performed on linux with Java 17 (Sonarcloud analysis, deployment) - os: ubuntu-latest diff --git a/pom.xml b/pom.xml index ee3fc653..3a4ac1a9 100644 --- a/pom.xml +++ b/pom.xml @@ -84,7 +84,8 @@ 1.7.25 6.3.1 1.64 - 8 + + 8 4.8.0 5.9.0 @@ -457,10 +458,7 @@ 3.6.1 - 1.8.0 - Bnd requires Java 8 - (https://github.com/bndtools/bnd/wiki/Changes-in-4.0.0) - + ${maven.compiler.release} @@ -484,53 +482,6 @@ - - jdk8 - - 1.8 - - - - 1.8 - 1.8 - - - - - org.codehaus.mojo - animal-sniffer-maven-plugin - - - - check - - - - - - org.codehaus.mojo.signature - java18 - 1.0 - - - - - - - - jdk9-or-higher - - - [9,) - - - - ${java.target.version} - - release