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-scripting-freemarker.git
commit b41c30ba5df55972a6de602225c51047c857f88d Author: Oliver Lietz <[email protected]> AuthorDate: Thu Nov 3 20:53:51 2022 +0100 SLING-11636 Enable code checks with SpotBugs --- pom.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/pom.xml b/pom.xml index d9d9765..cc50671 100644 --- a/pom.xml +++ b/pom.xml @@ -119,6 +119,28 @@ </execution> </executions> </plugin> + <plugin> + <groupId>com.github.spotbugs</groupId> + <artifactId>spotbugs-maven-plugin</artifactId> + <version>4.7.2.0</version> + <configuration> + <plugins> + <plugin> + <groupId>com.h3xstream.findsecbugs</groupId> + <artifactId>findsecbugs-plugin</artifactId> + <version>1.12.0</version> + </plugin> + </plugins> + </configuration> + <executions> + <execution> + <phase>process-classes</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build>
