Skip to content

Commit 272040b

Browse files
authored
Upgrade SpotBugs to 4.8.6 (#467)
Upgrades SpotBugs from 4.8.3 to 4.8.6. For release notes, see: https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md#486---2024-06-17 Signed-off-by: Wouter Born <github@maindrain.net>
1 parent 5caaac9 commit 272040b

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.8.3.1**) |
121-
| **spotbugs.version** | String | The version of SpotBugs that will be used (default value is **4.8.3**) |
120+
| **maven.spotbugs.version** | String | The version of the spotbugs-maven-plugin that will be used (default value is **4.8.6.2**) |
121+
| **spotbugs.version** | String | The version of SpotBugs that will be used (default value is **4.8.6**) |
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
@@ -68,7 +68,7 @@
6868
<maven.resources.version>3.3.0</maven.resources.version>
6969
<pmd.version>7.0.0</pmd.version>
7070
<checkstyle.version>10.14.0</checkstyle.version>
71-
<spotbugs.version>4.8.3</spotbugs.version>
71+
<spotbugs.version>4.8.6</spotbugs.version>
7272
<maven.core.version>3.6.0</maven.core.version>
7373
<maven.plugin.api.version>3.8.5</maven.plugin.api.version>
7474
<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.8.3.1")
86+
@Parameter(property = "maven.spotbugs.version", defaultValue = "4.8.6.2")
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.8.3")
98+
@Parameter(property = "spotbugs.version", defaultValue = "4.8.6")
9999
private String spotBugsVersion;
100100

101101
/**

0 commit comments

Comments
 (0)