Skip to content

Commit acfd60e

Browse files
committed
Switch from FindBugs (deprecated) to SpotBugs
1 parent 16f6430 commit acfd60e

File tree

3 files changed

+28
-10
lines changed

3 files changed

+28
-10
lines changed

modules/core/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ SPDX-License-Identifier: CC0-1.0
9898
</plugin>
9999

100100
<plugin>
101-
<groupId>org.codehaus.mojo</groupId>
102-
<artifactId>findbugs-maven-plugin</artifactId>
101+
<groupId>com.github.spotbugs</groupId>
102+
<artifactId>spotbugs-maven-plugin</artifactId>
103103
<executions>
104104
<execution>
105105
<goals>

modules/java-se-addons/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ SPDX-License-Identifier: CC0-1.0
7272
</plugin>
7373

7474
<plugin>
75-
<groupId>org.codehaus.mojo</groupId>
76-
<artifactId>findbugs-maven-plugin</artifactId>
75+
<groupId>com.github.spotbugs</groupId>
76+
<artifactId>spotbugs-maven-plugin</artifactId>
7777
<executions>
7878
<execution>
7979
<goals>

modules/parent/pom.xml

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,18 @@ SPDX-License-Identifier: CC0-1.0
131131
</plugin>
132132

133133
<plugin>
134-
<groupId>org.codehaus.mojo</groupId>
135-
<artifactId>findbugs-maven-plugin</artifactId>
136-
<version>3.0.5</version>
134+
<groupId>com.github.spotbugs</groupId>
135+
<artifactId>spotbugs-maven-plugin</artifactId>
136+
<version>4.8.5.0</version>
137+
<configuration>
138+
<dependencies>
139+
<dependency>
140+
<groupId>com.github.spotbugs</groupId>
141+
<artifactId>spotbugs</artifactId>
142+
<version>4.8.5</version>
143+
</dependency>
144+
</dependencies>
145+
</configuration>
137146
</plugin>
138147

139148
<plugin>
@@ -359,9 +368,18 @@ SPDX-License-Identifier: CC0-1.0
359368
</plugin>
360369

361370
<plugin>
362-
<groupId>org.codehaus.mojo</groupId>
363-
<artifactId>findbugs-maven-plugin</artifactId>
364-
<version>3.0.5</version> <!-- NOTE 2.5.5 is the latest version still compiled with Java 1.6 -->
371+
<groupId>com.github.spotbugs</groupId>
372+
<artifactId>spotbugs-maven-plugin</artifactId>
373+
<version>4.8.5.0</version>
374+
<configuration>
375+
<dependencies>
376+
<dependency>
377+
<groupId>com.github.spotbugs</groupId>
378+
<artifactId>spotbugs</artifactId>
379+
<version>4.8.5</version>
380+
</dependency>
381+
</dependencies>
382+
</configuration>
365383
</plugin>
366384

367385
<plugin>

0 commit comments

Comments
 (0)