You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by nb...@apache.org on 2008/08/13 01:59:46 UTC

svn commit: r685386 - /velocity/engine/trunk/pom.xml

Author: nbubna
Date: Tue Aug 12 16:59:45 2008
New Revision: 685386

URL: http://svn.apache.org/viewvc?rev=685386&view=rev
Log:
add findbugs support to maven build (thx to Jarkko Viinamaki in patch for VELOCITY-607)

Modified:
    velocity/engine/trunk/pom.xml

Modified: velocity/engine/trunk/pom.xml
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/pom.xml?rev=685386&r1=685385&r2=685386&view=diff
==============================================================================
--- velocity/engine/trunk/pom.xml (original)
+++ velocity/engine/trunk/pom.xml Tue Aug 12 16:59:45 2008
@@ -145,7 +145,12 @@
       <artifactId>oro</artifactId>
       <version>2.0.8</version>
     </dependency>
-
+    <!-- antlr allows us to use Findbugs -->
+    <dependency>
+      <groupId>antlr</groupId>
+      <artifactId>antlr</artifactId>
+      <version>2.7.7</version>
+    </dependency>
     <dependency>
       <groupId>jdom</groupId>
       <artifactId>jdom</artifactId>
@@ -272,6 +277,18 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changelog-plugin</artifactId>
       </plugin>
+      
+      <plugin>
+      <groupId>org.codehaus.mojo</groupId>
+      <artifactId>findbugs-maven-plugin</artifactId>
+      <configuration>
+        <xmlOutput>true</xmlOutput>
+        <threshold>Low</threshold>
+        <effort>Max</effort> 
+        <findbugsXmlOutputDirectory>xdocs</findbugsXmlOutputDirectory> 
+      </configuration>
+    </plugin>
+      
     </plugins>
   </reporting>