-
Notifications
You must be signed in to change notification settings - Fork 716
SONARJAVA-5942 Fix CI: use Java 21 in plugin QA and bump SpotBugs to 4.9.8.2 #5384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
176d0e5
a42114c
43de013
8d0e987
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -74,7 +74,7 @@ public void pmd() { | |
| public void spotbugs() { | ||
| MavenBuild build = TestUtils.createMavenBuild().setPom(TestUtils.projectPom("spotbugs-external-report")) | ||
| .setProperty("sonar.java.spotbugs.reportPaths", "target" + File.separator + "spotbugsXml.xml") | ||
| .setGoals("clean package com.github.spotbugs:spotbugs-maven-plugin:4.5.3.0:spotbugs", "sonar:sonar"); | ||
| .setGoals("clean package com.github.spotbugs:spotbugs-maven-plugin:4.9.8.2:spotbugs", "sonar:sonar"); | ||
|
||
| orchestrator.executeBuild(build); | ||
|
|
||
| String projectKey = "org.sonarsource.it.projects:spotbugs-external-report"; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| [tools] | ||
| java = ["24", "17"] | ||
| java = ["24", "21", "17"] | ||
| maven = "3.9" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be a little early to switch all plugin QA to Java 21 but at least that's work we won't have to do for the LTA
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed the config, so that we keep running
LATEST_RELEASEwith Java 17.