summaryrefslogtreecommitdiffstats
path: root/hosted-tenant-base
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@vespa.ai>2023-11-08 16:38:37 +0100
committerBjørn Christian Seime <bjorncs@vespa.ai>2023-11-08 16:38:37 +0100
commit3cdea82fa6a89e00ace2fde49f0f0204f1c15ace (patch)
treef4ef9cef40c9ca095a061f5899a3587feb04e34a /hosted-tenant-base
parent6296ebad00191a453e7afb5ec9726e6203f8eaff (diff)
Ban slf4j-api in compile scope
Diffstat (limited to 'hosted-tenant-base')
-rw-r--r--hosted-tenant-base/pom.xml16
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>