From 6adfc9ff9789e876ce53390ac5359b7129e2b43d Mon Sep 17 00:00:00 2001 From: Marvin Froeder Date: Tue, 28 Jun 2022 20:16:06 +1200 Subject: [PATCH] Use enforcer plugin to garantee core is free from dependencies (#1655) --- core/pom.xml | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/core/pom.xml b/core/pom.xml index f012ae790..d5576a554 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -32,12 +32,6 @@ - - org.jvnet - animal-sniffer-annotation - true - - com.squareup.okhttp3 mockwebserver @@ -90,6 +84,33 @@ + + org.apache.maven.plugins + maven-enforcer-plugin + 3.1.0 + + + enforce-banned-dependencies + + enforce + + + + + feign-core should never include any dependencies, this is a design choice to keep core light and extend functionality using modules + + *:*:*:*:*:* + + + *:*:*:*:test:* + + + + true + + + +