aboutsummaryrefslogtreecommitdiffstats
path: root/tenant-base
diff options
context:
space:
mode:
Diffstat (limited to 'tenant-base')
-rw-r--r--tenant-base/pom.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/tenant-base/pom.xml b/tenant-base/pom.xml
index f4923bf79f1..c43e9e116d4 100644
--- a/tenant-base/pom.xml
+++ b/tenant-base/pom.xml
@@ -366,6 +366,23 @@
</rules>
</configuration>
</execution>
+ <execution>
+ <id>enforce-no-log4j</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <bannedDependencies>
+ <!-- Fail validation for apps with log4j deps, in any scope. -->
+ <excludes>
+ <exclude>log4j:log4j:*:jar:*</exclude>
+ <exclude>org.apache.logging.log4j:log4j-core:*:jar:*</exclude>
+ </excludes>
+ </bannedDependencies>
+ </rules>
+ </configuration>
+ </execution>
</executions>
</plugin>