How to Scan the Java 11 Based maven code using sonarqube 10.4 with azure devops

Hi Team,

I am using sonarqube 10.4 community version using azure devops.

The sonarqube is working fine fot java17 based project which used maven 3.11 but for java 11 based which is maven 3.6 is giving issue.

Please help me with this…

Hi,

Welcome to the community!

You can still compile your older project with Java 11, you’ll just need to switch to Java 17 to analyze it.

Alternately, you can use Java 17 for the compile as well, and just compile down to Java 11.

 
HTH,
Ann