title: How to setup a java 11 based spring boot pipeline on bitbucket?
body: <p>Build fails with &quot;invalid target release: 11&quot; message.</p>
  <p>After a commit to bitbucket, a pipeline job starts automaticly but fails with</p>
  <pre><code>Full Error Message:
  [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project sms-commons: Fatal error compiling: invalid target release: 11 -&gt; 
  </code></pre>
  <p>How to enable java 11 support?</p>
  <pre><code>image: maven:3.3.9
  
  pipelines:
    default:
      - step:
          caches:
            - maven
          script: # Modify the commands below to build your repository.
            - mvn -B verify # -B batch mode makes Maven less verbose
            - mvn clean install
  </code></pre>
  <p>I expect a successfull build, but as I wrote the build job fails.</p>