Skip to content

Commit 2adcc8a

Browse files
committed
HBASE-28605 Add ErrorProne ban on Hadoop shaded thirdparty jars (#5918)
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.**) ``` Signed-off-by: Duo Zhang <zhangduo@apache.org> Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
1 parent 1705d7b commit 2adcc8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2266,6 +2266,7 @@
22662266
<bannedImport>org.apache.commons.cli.**</bannedImport>
22672267
<bannedImport>org.apache.commons.collections.**</bannedImport>
22682268
<bannedImport>org.apache.commons.collections4.**</bannedImport>
2269+
<bannedImport>org.apache.hadoop.thirdparty.**</bannedImport>
22692270
</bannedImports>
22702271
</restrictImports>
22712272
<restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">

0 commit comments

Comments
 (0)