Make FindBugs timeout configurable via command line parameters.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 11 Sep 2013 17:51:23 +0000 (19:51 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 11 Sep 2013 17:51:23 +0000 (19:51 +0200)
pom.xml

diff --git a/pom.xml b/pom.xml
index f3a8b72..6842c8a 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -63,6 +63,7 @@
        <properties>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                <version.utils>0.12.4</version.utils>
+               <findbugs.timeout>600000</findbugs.timeout>
        </properties>
        <build>
                <plugins>
@@ -70,6 +71,9 @@
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>findbugs-maven-plugin</artifactId>
                                <version>2.5.2</version>
+                               <configuration>
+                                       <timeout>${findbugs.timeout}</timeout>
+                               </configuration>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>