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
This line (release tag) introduces a feature that is only available from java 9 and +.
But this project is targeted to be build with java 8.
Hence getting the error: (when executing mvn clean package)
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project nexus-repository-services: Fatal error compiling: invalid flag: --release -> [Help 1]
Also tried building it with openjdk 11 but I am getting this clear error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project nexus-repository-services: Fatal error compiling: error: release version 8 not supported -> [Help 1]
Removing this line from the pom.xml file fixes the building on java 8:
Hello,
I noticed something strange in the pom.xml file:
nexus-sso/pom.xml
Line 16 in d726b46
This line (release tag) introduces a feature that is only available from java 9 and +.
But this project is targeted to be build with java 8.
Hence getting the error: (when executing
mvn clean package
)Also tried building it with openjdk 11 but I am getting this clear error:
Removing this line from the
pom.xml
file fixes the building on java 8:nexus-sso/pom.xml
Line 16 in d726b46
The text was updated successfully, but these errors were encountered: