You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2012/06/03 19:45:55 UTC

svn commit: r1345722 - /hbase/trunk/pom.xml

Author: tedyu
Date: Sun Jun  3 17:45:55 2012
New Revision: 1345722

URL: http://svn.apache.org/viewvc?rev=1345722&view=rev
Log:
HBASE-6138 Addendum, the filter file location can be more general (Jesse Yates)

Modified:
    hbase/trunk/pom.xml

Modified: hbase/trunk/pom.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/pom.xml?rev=1345722&r1=1345721&r2=1345722&view=diff
==============================================================================
--- hbase/trunk/pom.xml (original)
+++ hbase/trunk/pom.xml Sun Jun  3 17:45:55 2012
@@ -481,9 +481,9 @@
           <artifactId>findbugs-maven-plugin</artifactId>
           <version>${findbugs.version}</version>
           <configuration>
+            <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
             <findbugsXmlOutput>true</findbugsXmlOutput>
             <xmlOutput>true</xmlOutput>
-            <excludeFilterFile>${parent.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
             <effort>Max</effort>
           </configuration>
         </plugin>
@@ -630,6 +630,23 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
       </plugin>
+      <!-- Special configuration for findbugs just in the parent so
+      the filter file location can be more general (see definition in pluginManagement) -->
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>findbugs-maven-plugin</artifactId>
+        <executions>
+          <execution>
+          <inherited>false</inherited>
+          <goals>
+            <goal>findbugs</goal>
+          </goals>
+          <configuration>
+            <excludeFilterFile>${project.basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
+          </configuration>
+          </execution>
+        </executions>
+      </plugin>
       <!-- Ignore running the assembly in the top-level.
        That's all handled by hbase-assembly -->
       <plugin>