Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

Commit 5a418dc

Browse files
committed
Enable FindBugs
1 parent 556786f commit 5a418dc

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

pom.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,25 @@
4444
</execution>
4545
</executions>
4646
</plugin>
47+
<plugin>
48+
<groupId>org.codehaus.mojo</groupId>
49+
<artifactId>findbugs-maven-plugin</artifactId>
50+
<version>3.0.1</version>
51+
<configuration>
52+
<xmlOutput>true</xmlOutput>
53+
<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
54+
<failOnError>false</failOnError>
55+
</configuration>
56+
<executions>
57+
<execution>
58+
<id>run-findbugs</id>
59+
<phase>verify</phase>
60+
<goals>
61+
<goal>check</goal>
62+
</goals>
63+
</execution>
64+
</executions>
65+
</plugin>
4766
</plugins>
4867
</build>
4968

@@ -108,6 +127,12 @@
108127
<artifactId>mockito-all</artifactId>
109128
<version>1.9.5</version>
110129
</dependency>
130+
<dependency>
131+
<groupId>com.google.code.findbugs</groupId>
132+
<artifactId>annotations</artifactId>
133+
<version>3.0.0</version>
134+
<scope>provided</scope>
135+
</dependency>
111136
</dependencies>
112137
<repositories>
113138
<repository>

0 commit comments

Comments
 (0)