quarkusio / quarkus-buildpacks

9 stars 3 forks source link

The Native build image are using java8 (should java 11) to compile the project #3

Closed tqvarnst closed 3 years ago

tqvarnst commented 3 years ago

Adding maven to the mandrel image also installs java8 into the image and sets the default java version to 1.8. When trying to compile a Quarkus project using <maven.compiler.target>11</maven.compiler.target> will fail to build with the following error message.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project sample-app: Fatal error compiling: invalid target release: 11 -> [Help 1]