Configuration for Findbugs, with security plugin, and script to start gui
This commit is contained in:
parent
cdd34e1b51
commit
081dd785f3
2 changed files with 18 additions and 2 deletions
4
api/findbugs.sh
Executable file
4
api/findbugs.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
mvn compile findbugs:findbugs findbugs:gui
|
||||
|
16
api/pom.xml
16
api/pom.xml
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue