From 1af246103fd4a803bb3d557b80cc166bcc9b4495 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 20 Nov 2026 13:35:15 +0100 Subject: [PATCH] Enforce Java 8 API compatibility when compiling on newer JDKs Upgrade maven-compiler-plugin to 3.16.0 and set release to 8. Retain source and target settings for builds running on JDK 8. Fixes #20 --- pom.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 9357503..52ed508 100644 --- a/pom.xml +++ b/pom.xml @@ -78,10 +78,11 @@ org.apache.maven.plugins maven-compiler-plugin - 2.0.2 + 3.16.0 - 1.8 - 1.8 + 8 + 8 + 8