From ba6ab0fa51f840f5d3d6e9660c0b1ea3db08fa87 Mon Sep 17 00:00:00 2001 From: Nick Dimiduk Date: Fri, 17 May 2024 17:20:19 +0200 Subject: [PATCH] HBASE-28605 Add ErrorProne ban on Hadoop shaded thirdparty jars This change results in this error on master at `3a3dd66e21`. ``` [WARNING] Rule 2: de.skuzzle.enforcer.restrictimports.rule.RestrictImports failed with message: Banned imports detected: Reason: Use shaded version in hbase-thirdparty in file: org/apache/hadoop/hbase/backup/TestBackupDelete.java org.apache.hadoop.thirdparty.com.google.common.collect.Sets (Line: 34, Matched by: org.apache.hadoop.thirdparty.**) ``` --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index b750cac0557c..7d23580698f8 100644 --- a/pom.xml +++ b/pom.xml @@ -2515,6 +2515,7 @@ org.apache.commons.cli.** org.apache.commons.collections.** org.apache.commons.collections4.** + org.apache.hadoop.thirdparty.**