From 538d5293b063e99ee7f158115c8d042a02c4a449 Mon Sep 17 00:00:00 2001 From: Duo Zhang Date: Thu, 7 Jan 2021 12:03:39 +0800 Subject: [PATCH] HBASE-25333 Add maven enforcer rule to ban VisibleForTesting imports --- pom.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pom.xml b/pom.xml index 749ab83842bb..48a15046c1f3 100755 --- a/pom.xml +++ b/pom.xml @@ -1341,6 +1341,14 @@ org.glassfish.jersey.** + + true + 512 + Use RestrictedApi annotation in error prone instead + + org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting + +