From e8ee7cd023eb28e5457a8eeead9c33ca53db7597 Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Mon, 24 Jun 2024 15:14:35 +0200 Subject: [PATCH] Use --release 8 during compilation (#304) Motivation: We should use --release 8 during compilation to ensure we always end up with the correct java version that is required. Modifications: - Upgrade compiler plugin so the release flag is only used when compiling with java9+ - Specify release flag Result: Always end up with the correct bytecode --- pom.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d24407f..54e3462 100644 --- a/pom.xml +++ b/pom.xml @@ -89,12 +89,13 @@ maven-compiler-plugin - 3.8.0 + 3.13.0 1.8 true 1.8 1.8 + 8 true true true