4 Run Sonar scans using JDK11.
5 *java-version* will only set java for the maven build part of the job,
6 the sonar scan will use *sonarcloud-java-version* which is set to *openjdk11*.
7 Projects not compatible with JDK11 will be able to run their build with
8 *java-version* set to their JDK preference.
9 https://sonarcloud.io/documentation/user-guide/move-analysis-java-11/