Configuration for Findbugs, with security plugin, and script to start gui

This commit is contained in:
Graham Triggs 2017-10-05 18:43:15 +01:00
parent cdd34e1b51
commit 081dd785f3
2 changed files with 18 additions and 2 deletions

4
api/findbugs.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
mvn compile findbugs:findbugs findbugs:gui

View file

@ -94,13 +94,25 @@
</dependency>
</dependencies>
<reporting>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.5</version>
<configuration>
<effort>Max</effort>
<threshold>Low</threshold>
<failOnError>true</failOnError>
<plugins>
<plugin>
<groupId>com.h3xstream.findsecbugs</groupId>
<artifactId>findsecbugs-plugin</artifactId>
<version>LATEST</version> <!-- Auto-update to the latest stable -->
</plugin>
</plugins>
</configuration>
</plugin>
</plugins>
</reporting>
</build>
</project>