Hello, I have been using SonarQube Enterprise version 8.9.10 (build 61524) and due to the need for Java 21 support by our developers, I am considering upgrading SonarQube to version 10.5 as it has completed the necessary support work for Java 21 scanning tasks. I have some inquiries regarding the upgrade process:
- How can I upgrade from version 8.9.10 to 10.5? While I found instructions on upgrading from version 8.9 to 9.9 at Scanner environment, how can I proceed with an upgrade from version 9.9 to 10.5?
2.The most commonly used Java versions in our company are currently 8,11, and17.Will SonarQube’s upgrade to version10 .5 perfectly support these older Java versions? What changes will be required for the Sonar scanner?
3.Currently we use plugins such as PMD and FindBugs, however when scanning code projects using Java21,the following errors occur:
2024-07-17 14:26:47 [INFO] 14:26:46.950 Sensor PmdSensor [pmd]
2024-07-17 14:26:47 [INFO] 14:26:46.951 Execute PMD 6.30.0
2024-07-17 14:26:47 [INFO] 14:26:46.960 Execute PMD 6.30.0 (done) | time=9ms
2024-07-17 14:26:47 [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:4.0.0.4121:sonar (default-cli) on project mxc-main-regionalbiz: Unsupported Java version for PMD: 17 -> [Help 1]
How can this issue be resolved and will it be addressed after upgrading to version10 .5?
Best regards.