Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 70386cbe4 -> a4dfc669f


HBASE-18293 Only add the spotbugs dependency when jdk8 is active


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/a4dfc669
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a4dfc669
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a4dfc669

Branch: refs/heads/branch-1.3
Commit: a4dfc669f1d4e2f16085e172c6ca5f43175881f6
Parents: 70386cb
Author: Chia-Ping Tsai <[email protected]>
Authored: Thu Jun 29 13:16:40 2017 +0800
Committer: Chia-Ping Tsai <[email protected]>
Committed: Tue Jul 4 14:07:13 2017 +0800

----------------------------------------------------------------------
 pom.xml | 26 +++++++++++++++++++-------
 1 file changed, 19 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/a4dfc669/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index d12180d..1a4038a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -574,13 +574,6 @@
             <xmlOutput>true</xmlOutput>
             <effort>Max</effort>
           </configuration>
-          <dependencies>
-            <dependency>
-              <groupId>com.github.spotbugs</groupId>
-              <artifactId>spotbugs</artifactId>
-              <version>${spotbugs.version}</version>
-            </dependency>
-          </dependencies>
         </plugin>
         <plugin>
           <groupId>org.codehaus.mojo</groupId>
@@ -1887,6 +1880,25 @@
                 <additionalparam>-Xdoclint:none</additionalparam>
               </configuration>
             </plugin>
+            <plugin>
+              <groupId>org.codehaus.mojo</groupId>
+              <artifactId>findbugs-maven-plugin</artifactId>
+              <version>3.0.0</version>
+              <!--NOTE: Findbugs 3.0.0 requires jdk7-->
+              <configuration>
+                
<excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
+                <findbugsXmlOutput>true</findbugsXmlOutput>
+                <xmlOutput>true</xmlOutput>
+                <effort>Max</effort>
+              </configuration>
+              <dependencies>
+                <dependency>
+                  <groupId>com.github.spotbugs</groupId>
+                  <artifactId>spotbugs</artifactId>
+                  <version>${spotbugs.version}</version>
+                </dependency>
+              </dependencies>
+            </plugin>
           </plugins>
         </pluginManagement>
       </build>

Reply via email to