You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bu...@apache.org on 2021/02/09 06:46:22 UTC

[hbase-thirdparty] branch master updated: HBASE-25557 jdk bytecode enforcement shouldn't check test dependencies.

This is an automated email from the ASF dual-hosted git repository.

busbey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase-thirdparty.git


The following commit(s) were added to refs/heads/master by this push:
     new 52dc7b5  HBASE-25557 jdk bytecode enforcement shouldn't check test dependencies.
52dc7b5 is described below

commit 52dc7b54e66f8bf34e23233f0dd9a347f1aca5a7
Author: Sean Busbey <bu...@apache.org>
AuthorDate: Sun Feb 7 22:12:59 2021 -0600

    HBASE-25557 jdk bytecode enforcement shouldn't check test dependencies.
    
    closes #47
    
    Signed-off-by: Wellington Chevreuil <wc...@apache.org>
---
 pom.xml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 36fbf05..6de4866 100644
--- a/pom.xml
+++ b/pom.xml
@@ -277,7 +277,7 @@
           <dependency>
             <groupId>org.codehaus.mojo</groupId>
             <artifactId>extra-enforcer-rules</artifactId>
-            <version>1.0-beta-6</version>
+            <version>1.3</version>
           </dependency>
         </dependencies>
         <!-- version set by parent -->
@@ -352,6 +352,10 @@
                     <ignoreClass>**.glassfish.jersey.internal.jsr166.SubmissionPublisher*</ignoreClass>
                     <ignoreClass>**.glassfish.jersey.internal.jsr166.JerseyFlowSubscriber*</ignoreClass>
                   </ignoreClasses>
+                  <ignoreOptionals>true</ignoreOptionals>
+                  <ignoredScopes>
+                    <ignoredScope>test</ignoredScope>
+                  </ignoredScopes>
                   <message>HBase has unsupported dependencies.
   HBase requires that all dependencies be compiled with version ${compileSource} or earlier
   of the JDK to properly build from source.  You appear to be using a newer dependency. You can use