jborgers / sonar-pmd

☕️ PMD Plugin for SonarQube
https://redirect.sonarsource.com/plugins/pmd.html
GNU Lesser General Public License v3.0
254 stars 154 forks source link

Release 3.5.0 not compatible with SonarQube 9.9 LTS analysis on Java 11: "The plugin [pmd] does not support Java 11" #464

Closed alixwar closed 1 month ago

alixwar commented 2 months ago

Projects that use JDK 11 in their build pipelines get this error:

image (1) (1)

So it seems that release 3.5 has been targetting a newer SonarQube version and not 9.9 LTS

jborgers commented 2 months ago

"The SonarQube [9.9] server now requires Java 17. Analysis may continue to use Java 11 if necessary. (SONAR-17566 90)."

Sonar-pmd plugin release 3.5.0 only supports Java 17 for the analysis.

We hope to support Java 11 again for analysis in upcoming release 3.5.1.

jborgers commented 2 months ago

3.5.1-beta pre-release is published to try-out.

jborgers commented 2 months ago

We just released 3.5.1. @alixwar let me know it it works.

jborgers commented 1 month ago

Nothing heard, assuming it works for @alixwar

alixwar commented 1 month ago

Nothing heard, assuming it works for @alixwar

I'm still waiting for our operations team to install the upgrade, but it will likely work. Thanks :)

dvbeek commented 1 month ago

We have tested this, and can confirm version 3.5.1 works perfectly with Java 11 and Java 17 👍