From 6a33dcd41eecd8570624fd31e4acfeb7200f7e89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Bertholino?= <138716903+joaobertholino@users.noreply.github.com> Date: Sun, 24 Nov 2024 14:27:38 -0300 Subject: [PATCH] Friendly error message for JDK versions < 17 (issue #164) (#177) * feat: Adds a friendly message for JDKs < 17 * fix: Removing line break in error message. --- pom.xml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pom.xml b/pom.xml index 49caa68a..6be360b0 100644 --- a/pom.xml +++ b/pom.xml @@ -338,6 +338,27 @@ + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-java + + enforce + + + + + This build requires at least Java ${java.version}, update your JVM, and run the build again + + [${java.version},) + + + + + +