diff options
Diffstat (limited to 'hosted-tenant-base/pom.xml')
-rw-r--r-- | hosted-tenant-base/pom.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/hosted-tenant-base/pom.xml b/hosted-tenant-base/pom.xml index 9851659bef0..7dd66003581 100644 --- a/hosted-tenant-base/pom.xml +++ b/hosted-tenant-base/pom.xml @@ -262,6 +262,22 @@ </configuration> </execution> <execution> + <id>enforce-no-compile-scope</id> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <bannedDependencies> + <!-- Fail validation for provided container deps which will fail when embedded in application bundle --> + <excludes> + <exclude>org.slf4j:slf4j-api:*:jar:compile</exclude> + </excludes> + </bannedDependencies> + </rules> + </configuration> + </execution> + <execution> <id>enforce-just-our-jupiter</id> <goals> <goal>enforce</goal> |