Maven build failure source / target release versions
crush-157 opened this issue · 2 comments
crush-157 commented
Cloned the demo and ran
mvn clean install
Build failed with the following error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project coherence-demo: Fatal error compiling: warning: source release 11 requires target release 11 -> [Help 1]
[ERROR]
tmiddlet2666 commented
Hi @crush-157
Thanks for your issue.
Can you please let me know what Java and Maven version you used?
You should use JDK 11 to compile. I have previously compiled to Java 8, event when using JDK11, for compatability with older releases of Coherence But we can probably not worry about that.
I'll take a look at your PR
crush-157 commented
Maven 3.8.2
JDK 16.0.2