From e4a560a998f2efea1356e65f06ae755c03b25e65 Mon Sep 17 00:00:00 2001 From: soloturn Date: Thu, 10 Feb 2022 09:23:41 +0100 Subject: [PATCH] permit "mvn test" with java8. activate javac --release only on higher java versions. it allows to compile with java11+, but permits afterwards running tests with java8 to make sure rendering errors can be catched. parmit the syntax of the source to include java17, and tell the user about it instead of just failing the compilation. --- pom.xml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 250e37f7f..013a4cf9a 100644 --- a/pom.xml +++ b/pom.xml @@ -56,7 +56,6 @@ ${project.artifactId}-${project.version} - 8 net.sourceforge.plantuml.Run @@ -232,6 +231,28 @@ + + + javac-release-flag + + [9,) + + + 8 + + + + + javac-source-flag + + true + + + 17 + 1.8 + + pdf