You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2021/09/09 15:22:43 UTC
[sling-org-apache-sling-commons-clam] 03/25: SLING-10736 Enable
code checks with SpotBugs
This is an automated email from the ASF dual-hosted git repository.
olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-clam.git
commit 1e3f210ed4f16b6fe4159f187f269416696b6edb
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Mon Aug 16 15:05:34 2021 +0200
SLING-10736 Enable code checks with SpotBugs
---
pom.xml | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/pom.xml b/pom.xml
index ff16fa1..d135dea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -126,6 +126,29 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
+ <version>4.3.0</version>
+ <configuration>
+ <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
+ <plugins>
+ <plugin>
+ <groupId>com.h3xstream.findsecbugs</groupId>
+ <artifactId>findsecbugs-plugin</artifactId>
+ <version>1.11.0</version>
+ </plugin>
+ </plugins>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>