You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/12/08 02:26:10 UTC
[commons-compress] branch master updated: Replace FindBugs with SpotBugs and declutter the root folder
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git
The following commit(s) were added to refs/heads/master by this push:
new 221d72d9 Replace FindBugs with SpotBugs and declutter the root folder
221d72d9 is described below
commit 221d72d96e63ecb32de78fab2e8404dd2e52d2c1
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Dec 7 21:26:06 2022 -0500
Replace FindBugs with SpotBugs and declutter the root folder
---
pom.xml | 16 ++++++++++++----
.../conf/spotbugs-exclude-filter.xml | 0
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index ef3c4933..b0eaed07 100644
--- a/pom.xml
+++ b/pom.xml
@@ -466,6 +466,15 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj.
</rulesets>
</configuration>
</plugin>
+ <plugin>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
+ <configuration>
+ <threshold>Normal</threshold>
+ <effort>Default</effort>
+ <excludeFilterFile>${basedir}/src/conf/spotbugs-exclude-filter.xml</excludeFilterFile>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
@@ -543,13 +552,12 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj.
</configuration>
</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>
<configuration>
<threshold>Normal</threshold>
<effort>Default</effort>
- <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
+ <excludeFilterFile>${basedir}/src/conf/spotbugs-exclude-filter.xml</excludeFilterFile>
</configuration>
</plugin>
</plugins>
diff --git a/findbugs-exclude-filter.xml b/src/conf/spotbugs-exclude-filter.xml
similarity index 100%
rename from findbugs-exclude-filter.xml
rename to src/conf/spotbugs-exclude-filter.xml