You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't use JAVA_HOME but alternative tool because i need to swhitch between many java version (many project...).
I try to build the gateway without JAVA_HOME and get BUILD FAILURE with make command (see below).
Java 11 seems detected... but 21 is in use.
After set JAVA_HOME, it works fine.
it's annoying because maven detects the right version of java 21 and current java --version return expected version 21.
Error details
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-and-java) @ georchestra-gateway ---
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireJavaVersion failed with message:
Detected JDK Version: 11.0.21 is not in the allowed range [21,).
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:05 min
[INFO] Finished at: 2024-12-23T14:32:58+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0:enforce (enforce-maven-and-java) on project georchestra-gateway: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]
[ERROR]
The text was updated successfully, but these errors were encountered:
Description
Hi,
I don't use JAVA_HOME but alternative tool because i need to swhitch between many java version (many project...).
I try to build the gateway without
JAVA_HOME
and get BUILD FAILURE withmake
command (see below).Java 11 seems detected... but 21 is in use.
After set JAVA_HOME, it works fine.
it's annoying because maven detects the right version of java 21 and current
java --version
return expected version21
.Error details
The text was updated successfully, but these errors were encountered: