Skip to content

Commit 176d0e5

Browse files
Fix CI: use Java 21 in plugin QA and bump SpotBugs to 4.9.8.2
1 parent c9d7e50 commit 176d0e5

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ jobs:
116116
- uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
117117
with:
118118
version: 2025.7.12
119-
- name: Select Java 17
120-
run: mise use java@17
119+
- name: Select Java 21
120+
run: mise use java@21
121121
- name: Configure Maven
122122
uses: SonarSource/ci-github-actions/config-maven@v1
123123
with:

its/plugin/projects/spotbugs-external-report/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<plugin>
1515
<groupId>com.github.spotbugs</groupId>
1616
<artifactId>spotbugs-maven-plugin</artifactId>
17-
<version>4.5.3.0</version>
17+
<version>4.9.8.2</version>
1818
<configuration>
1919
<plugins>
2020
<plugin>

its/plugin/tests/src/test/java/com/sonar/it/java/suite/ExternalReportTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public void pmd() {
7474
public void spotbugs() {
7575
MavenBuild build = TestUtils.createMavenBuild().setPom(TestUtils.projectPom("spotbugs-external-report"))
7676
.setProperty("sonar.java.spotbugs.reportPaths", "target" + File.separator + "spotbugsXml.xml")
77-
.setGoals("clean package com.github.spotbugs:spotbugs-maven-plugin:4.5.3.0:spotbugs", "sonar:sonar");
77+
.setGoals("clean package com.github.spotbugs:spotbugs-maven-plugin:4.9.8.2:spotbugs", "sonar:sonar");
7878
orchestrator.executeBuild(build);
7979

8080
String projectKey = "org.sonarsource.it.projects:spotbugs-external-report";

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[tools]
2-
java = ["24", "17"]
2+
java = ["24", "21", "17"]
33
maven = "3.9"

0 commit comments

Comments
 (0)