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

Commit 340fb3f

Browse files
committed
Merge pull request hub4j#207 from oleg-nenashev/findbugs-enable
Enable FindBugs in the repo
2 parents 901db92 + 5a418dc commit 340fb3f

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

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

@@ -109,6 +128,12 @@
109128
<version>1.9.5</version>
110129
<scope>test</scope>
111130
</dependency>
131+
<dependency>
132+
<groupId>com.google.code.findbugs</groupId>
133+
<artifactId>annotations</artifactId>
134+
<version>3.0.0</version>
135+
<scope>provided</scope>
136+
</dependency>
112137
</dependencies>
113138
<repositories>
114139
<repository>

0 commit comments

Comments
 (0)