chore(build): replace findbugs with spotbugs
SpotBugs[1] is the successor of FindBugs project, it's maintained so it
has less false positives we need to use for.
This disables FindBugs (inherited from basepom) and configures the use
of SpotBugs instead.
[1]
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>default</id>
- <phase />
- </execution>
- </executions>
- </plugin>
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<executions>
</dependencies>
</plugin>
+ <plugin>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
+ <version>3.1.5</version>
+ </plugin>
+
<plugin>
<groupId>org.basepom.maven</groupId>
<artifactId>duplicate-finder-maven-plugin</artifactId>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>default</id>
+ <phase />
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
+ </plugin>
+
</plugins>
