Skip to content

Commit 3b50d1b

Browse files
Upgrade SpotBugs from 4.7.3 to 4.8.3 (#447) (#461)
This adds support for Java file version 65 (Java 21). Changelog: https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md Upgrade SpotBugs Maven plugin to 4.8.3.1. Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
1 parent 9702d47 commit 3b50d1b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/maven-plugin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ Parameters:
117117
| **spotbugsRuleset** | String | Relative path to the XML that specifies the bug detectors which should be run. If not set the default file will be used|
118118
| **spotbugsInclude** | String | Relative path to the XML that specifies the bug instances that will be included in the report. If not set the default file will be used|
119119
| **spotbugsExclude** | String | Relative path to the XML that specifies the bug instances that will be excluded from the report. If not set the default file will be used|
120-
| **maven.spotbugs.version** | String | The version of the spotbugs-maven-plugin that will be used (default value is **4.6.0.0**) |
121-
| **spotbugs.version** | String | The version of SpotBugs that will be used (default value is **4.7.0**) |
120+
| **maven.spotbugs.version** | String | The version of the spotbugs-maven-plugin that will be used (default value is **4.8.3.1**) |
121+
| **spotbugs.version** | String | The version of SpotBugs that will be used (default value is **4.8.3**) |
122122
| **spotbugsPlugins** | List<Dependency> | A list with artifacts that contain additional detectors/patterns for SpotBugs |
123123
| **findbugs.slf4j.version** | String | The version of the findbugs-slf4j plugin that will be used (default value is **1.5.0**)|
124124

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<maven.resources.version>3.3.0</maven.resources.version>
7070
<pmd.version>6.53.0</pmd.version>
7171
<checkstyle.version>10.6.0</checkstyle.version>
72-
<spotbugs.version>4.7.3</spotbugs.version>
72+
<spotbugs.version>4.8.3</spotbugs.version>
7373
<maven.core.version>3.6.0</maven.core.version>
7474
<maven.plugin.api.version>3.8.5</maven.plugin.api.version>
7575
<maven.plugin.annotations.version>3.7.0</maven.plugin.annotations.version>

sat-plugin/src/main/java/org/openhab/tools/analysis/tools/SpotBugsChecker.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public class SpotBugsChecker extends AbstractChecker {
8383
/**
8484
* The version of the spotbugs-maven-plugin that will be used
8585
*/
86-
@Parameter(property = "maven.spotbugs.version", defaultValue = "4.6.0.0")
86+
@Parameter(property = "maven.spotbugs.version", defaultValue = "4.8.3.1")
8787
private String spotbugsMavenPluginVersion;
8888

8989
/**
@@ -95,7 +95,7 @@ public class SpotBugsChecker extends AbstractChecker {
9595
/**
9696
* The version of the spotbugs that will be used
9797
*/
98-
@Parameter(property = "spotbugs.version", defaultValue = "4.7.0")
98+
@Parameter(property = "spotbugs.version", defaultValue = "4.8.3")
9999
private String spotBugsVersion;
100100

101101
/**

0 commit comments

Comments
 (0)