forked from ringcentral/jagger8
-
Notifications
You must be signed in to change notification settings - Fork 0
Findbugs plugin
Anton Antonenko edited this page Sep 22, 2016
·
2 revisions
To enable findbugs for module add following code to pom.xml in section <plugins></plugins>
:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
</plugin>
If you need report being generated without failing a build add:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<configuration>
<failOnError>false</failOnError>
</configuration>
</plugin>
Findbugs generates a report which can be found in the ./your_module_name/target/findbugs
directory.