[VOL-3353] Enabled Find Security Bugs
Change-Id: I2063d846356b17929ce4a5327c1686b69dc623b1
diff --git a/pom.xml b/pom.xml
index 6adbd20..faf0b5d 100755
--- a/pom.xml
+++ b/pom.xml
@@ -66,6 +66,30 @@
</snapshots>
</repository>
</repositories>
+ <build>
+ <plugins>
+ <!-- SpotBugs Static Analysis -->
+ <plugin>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
+ <version>4.0.4</version>
+ <configuration>
+ <effort>Max</effort>
+ <threshold>Low</threshold>
+ <failOnError>false</failOnError>
+ <includeFilterFile>${session.executionRootDirectory}/spotbugs-security-include.xml</includeFilterFile>
+ <excludeFilterFile>${session.executionRootDirectory}/spotbugs-security-exclude.xml</excludeFilterFile>
+ <plugins>
+ <plugin>
+ <groupId>com.h3xstream.findsecbugs</groupId>
+ <artifactId>findsecbugs-plugin</artifactId>
+ <version>1.10.1</version>
+ </plugin>
+ </plugins>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>