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]
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.