Skip to content

Commit

Permalink
Switch from FindBugs (deprecated) to SpotBugs
Browse files Browse the repository at this point in the history
  • Loading branch information
hoijui committed May 8, 2024
1 parent 16f6430 commit acfd60e
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 10 deletions.
4 changes: 2 additions & 2 deletions modules/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ SPDX-License-Identifier: CC0-1.0
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<executions>
<execution>
<goals>
Expand Down
4 changes: 2 additions & 2 deletions modules/java-se-addons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ SPDX-License-Identifier: CC0-1.0
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<executions>
<execution>
<goals>
Expand Down
30 changes: 24 additions & 6 deletions modules/parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,18 @@ SPDX-License-Identifier: CC0-1.0
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.5</version>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>4.8.5.0</version>
<configuration>
<dependencies>
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs</artifactId>
<version>4.8.5</version>
</dependency>
</dependencies>
</configuration>
</plugin>

<plugin>
Expand Down Expand Up @@ -359,9 +368,18 @@ SPDX-License-Identifier: CC0-1.0
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.5</version> <!-- NOTE 2.5.5 is the latest version still compiled with Java 1.6 -->
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>4.8.5.0</version>
<configuration>
<dependencies>
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs</artifactId>
<version>4.8.5</version>
</dependency>
</dependencies>
</configuration>
</plugin>

<plugin>
Expand Down

0 comments on commit acfd60e

Please sign in to comment.