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 15:50:59 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/b4939092
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b4939092
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b4939092

Branch: refs/heads/branch-1
Commit: b49390922ec4a5774c3499134f359d39fbe7a61e
Parents: 9264e8f
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 10:16:25 2017 -0500

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/b4939092/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 7a1fdd2..ef5fc63 100644
--- a/pom.xml
+++ b/pom.xml
@@ -576,13 +576,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>
@@ -1945,6 +1938,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