From 62bcc79a2c5bc5a6808edee142100672eebb5035 Mon Sep 17 00:00:00 2001 From: Viraj Jasani Date: Mon, 3 May 2021 21:40:26 +0530 Subject: [PATCH] HADOOP-17676. Restrict imports from org.apache.curator.shaded (#2969) Signed-off-by: Akira Ajisaka --- pom.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/pom.xml b/pom.xml index 32090f8620..5056869cb2 100644 --- a/pom.xml +++ b/pom.xml @@ -101,6 +101,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x 2.4 3.0.2 3.0.0-M1 + 1.1.0 3.0.1 1.5 1.5 @@ -160,6 +161,33 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x + + + de.skuzzle.enforcer + restrict-imports-enforcer-rule + ${restrict-imports.enforcer.version} + + + + + banned-illegal-imports + process-sources + + enforce + + + + + true + Use hadoop-thirdparty shaded instead of curator shaded + + org.apache.curator.shaded.** + + + + + + org.apache.maven.plugins