You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by li...@apache.org on 2013/08/09 20:18:14 UTC
svn commit: r1512428 - in /hbase/branches/0.89-fb: findbugs-exclude.xml
pom.xml
Author: liyin
Date: Fri Aug 9 18:18:14 2013
New Revision: 1512428
URL: http://svn.apache.org/r1512428
Log:
[master]exclude classes in jacoco and findbugs reports
Author: fan
Summary: exclude classes in jacoco and findbugs reports
Test Plan: mvn findbugs:findbugs
Reviewers: manukranthk
Reviewed By: manukranthk
CC: hbase-eng@, pieter
Differential Revision: https://phabricator.fb.com/D919337
Task ID: 2658913
Added:
hbase/branches/0.89-fb/findbugs-exclude.xml
Modified:
hbase/branches/0.89-fb/pom.xml
Added: hbase/branches/0.89-fb/findbugs-exclude.xml
URL: http://svn.apache.org/viewvc/hbase/branches/0.89-fb/findbugs-exclude.xml?rev=1512428&view=auto
==============================================================================
--- hbase/branches/0.89-fb/findbugs-exclude.xml (added)
+++ hbase/branches/0.89-fb/findbugs-exclude.xml Fri Aug 9 18:18:14 2013
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<FindBugsFilter>
+ <Match>
+ <Class name="~org\.apache\.hadoop\.hbase\.avro\..*" />
+ </Match>
+ <Match>
+ <Class name="~.*\.generated\..*" />
+ </Match>
+ <Match>
+ <Class name="~org\.apache\.hadoop\.hbase\.rest\..*" />
+ </Match>
+</FindBugsFilter>
+
Modified: hbase/branches/0.89-fb/pom.xml
URL: http://svn.apache.org/viewvc/hbase/branches/0.89-fb/pom.xml?rev=1512428&r1=1512427&r2=1512428&view=diff
==============================================================================
--- hbase/branches/0.89-fb/pom.xml (original)
+++ hbase/branches/0.89-fb/pom.xml Fri Aug 9 18:18:14 2013
@@ -233,6 +233,16 @@
<pluginManagement>
<plugins>
<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>2.5.2</version>
+ <configuration>
+ <findbugsXmlOutput>true</findbugsXmlOutput>
+ <xmlOutput>true</xmlOutput>
+ <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<!-- <version>0.6.4-SNAPSHOT</version> -->
@@ -254,6 +264,11 @@
</executions>
<configuration>
<skip>${hbase.skip-jacoco}</skip>
+ <excludes>
+ <exclude>org/apache/hadoop/hbase/avro/**/*.class</exclude>
+ <exclude>**/generated/**/*.class</exclude>
+ <exclude>org/apache/hadoop/hbase/rest/**/*.class</exclude>
+ </excludes>
</configuration>
</plugin>
<plugin>
@@ -960,17 +975,6 @@
<version>2.5</version>
</plugin>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- <version>2.3.1</version>
- <configuration>
- <findbugsXmlOutput>true</findbugsXmlOutput>
- <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
- <xmlOutput>true</xmlOutput>
- </configuration>
- </plugin>
-
- <plugin>
<artifactId>maven-site-plugin</artifactId>
<version>2.1</version>
<configuration>