This is an automated email from the ASF dual-hosted git repository.
pottlinger pushed a commit to branch feature/RAT-369
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git
The following commit(s) were added to refs/heads/feature/RAT-369 by this push:
new b404d02d RAT-369: Add spotbugs to build and generate a report
b404d02d is described below
commit b404d02d2cdd33192e84a3cb100a165176626a48
Author: P. Ottlinger <[email protected]>
AuthorDate: Tue Apr 16 22:50:57 2024 +0200
RAT-369: Add spotbugs to build and generate a report
---
pom.xml | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/pom.xml b/pom.xml
index 6090e760..6eaf501a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -285,6 +285,10 @@ agnostic home for software distribution comprehension and
audit tools.
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
</plugin>
+ <plugin>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
+ </plugin>
</plugins>
</reporting>
<build>
@@ -297,6 +301,22 @@ agnostic home for software distribution comprehension and
audit tools.
if ours is different.
-->
<plugins>
+ <plugin>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
+ <version>4.8.4.0</version>
+ <configuration>
+
<!--includeFilterFile>spotbugs-security-include.xml</includeFilterFile>
+
<excludeFilterFile>spotbugs-security-exclude.xml</excludeFilterFile-->
+ <plugins>
+ <plugin>
+ <groupId>com.h3xstream.findsecbugs</groupId>
+ <artifactId>findsecbugs-plugin</artifactId>
+ <version>1.13.0</version>
+ </plugin>
+ </plugins>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
@@ -440,6 +460,10 @@ agnostic home for software distribution comprehension and
audit tools.
</plugins>
</pluginManagement>
<plugins>
+ <plugin>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>