Commit 641df5f
Run SonarCloud analysis on Java 21 (SonarQube Cloud dropped Java 17)
SonarQube Cloud stopped supporting Java 17 as a scanner runtime on
2026-07-20 and now requires Java 21+. The Sonar workflows pin Java 17, so
the "Sonar Scanner" job on master started failing, which froze the
SonarCloud analysis at its 2026-07-18 snapshot and kept the Quality Gate
red for a finding that is already fixed on master.
Bump the JVM that runs the analysis (mvn -Pjacoco,sonar) from 17 to 21 in
sonar.yml and sonar-pr-analysis-publish.yml.
This changes only the JVM used to run the analysis in CI. The plugin's
compile target stays Java 8 (maven-compiler-plugin source/target 8) and the
user-facing test matrix (Java 8/11) is unchanged. A full build and test run
passes on Temurin 21 locally (976 tests, 0 failures).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 3f7a64e commit 641df5f
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
0 commit comments