Issue with Sonar Maven scan when using Project's specific JDK

Hey there.

sonar.java.jdkHome feeds data to the analysis, but does not configure what JVM is used for the analysis.

You’ll need to break out your build/analysis into two separate Maven steps. Take a look at the documentation on Scanner Environment for examples.