Run FindBugs when test is run.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 10 Sep 2013 20:01:49 +0000 (22:01 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 10 Sep 2013 20:01:49 +0000 (22:01 +0200)
pom.xml

diff --git a/pom.xml b/pom.xml
index 35f3250..ce9e44f 100644 (file)
--- a/pom.xml
+++ b/pom.xml
        <build>
                <plugins>
                        <plugin>
+                               <groupId>org.codehaus.mojo</groupId>
+                               <artifactId>findbugs-maven-plugin</artifactId>
+                               <version>2.5.2</version>
+                               <executions>
+                                       <execution>
+                                               <phase>test</phase>
+                                               <goals>
+                                                       <goal>findbugs</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
+                       <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
                                <version>2.0.2</version>