diff --git a/pom.xml b/pom.xml index da8d98809..8d42404e8 100644 --- a/pom.xml +++ b/pom.xml @@ -1,6 +1,6 @@ + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 @@ -127,6 +127,38 @@ false + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-java + + enforce + + + + + + 🚫 Java version error: This project requires Java ${java.version} or higher. + + Your current Java version is ${java.version} + To fix this: + 1. Download and install Java 17 or higher from your preferred vendor + 2. Make sure JAVA_HOME points to the new Java installation + 3. Verify with 'java -version' command + 4. Run the build again + + For more information, check the project documentation. + + ${java.version}) + + + true + + + +