hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bus...@apache.org
Subject [2/2] hbase git commit: HBASE-18293 Only add the spotbugs dependency when jdk8 is active
Date Fri, 30 Jun 2017 14:51:10 GMT
HBASE-18293 Only add the spotbugs dependency when jdk8 is active

Signed-off-by: Sean Busbey <busbey@apache.org>


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

Branch: refs/heads/master
Commit: 0d4245c99e5e0a326d384af643ec268cc312513a
Parents: fc973d0
Author: Chia-Ping Tsai <chia7712@gmail.com>
Authored: Thu Jun 29 13:16:40 2017 +0800
Committer: Sean Busbey <busbey@apache.org>
Committed: Fri Jun 30 09:43:02 2017 -0500

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/0d4245c9/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index adb487b..c64033c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -667,13 +667,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>
@@ -2079,6 +2072,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>


Mime
View raw message