aboutsummaryrefslogtreecommitdiffstats
path: root/hosted-tenant-base
diff options
context:
space:
mode:
Diffstat (limited to 'hosted-tenant-base')
-rw-r--r--hosted-tenant-base/pom.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/hosted-tenant-base/pom.xml b/hosted-tenant-base/pom.xml
index c2f3b40d225..bab592409f7 100644
--- a/hosted-tenant-base/pom.xml
+++ b/hosted-tenant-base/pom.xml
@@ -190,10 +190,12 @@
<configuration>
<rules>
<bannedDependencies>
- <!-- Fail validation for apps with log4j deps, in any scope. -->
+ <!-- Fail validation for apps with log4j deps in compile or provided scope. -->
<excludes>
- <exclude>log4j:log4j:*:jar:*</exclude>
- <exclude>org.apache.logging.log4j:log4j-core:*:jar:*</exclude>
+ <exclude>log4j:log4j:*:jar:compile</exclude>
+ <exclude>log4j:log4j:*:jar:provided</exclude>
+ <exclude>org.apache.logging.log4j:log4j-core:*:jar:compile</exclude>
+ <exclude>org.apache.logging.log4j:log4j-core:*:jar:provided</exclude>
</excludes>
</bannedDependencies>
</rules>