summaryrefslogtreecommitdiffstats
path: root/hosted-tenant-base
diff options
context:
space:
mode:
Diffstat (limited to 'hosted-tenant-base')
-rw-r--r--hosted-tenant-base/pom.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/hosted-tenant-base/pom.xml b/hosted-tenant-base/pom.xml
index e7c364cb7de..c2f3b40d225 100644
--- a/hosted-tenant-base/pom.xml
+++ b/hosted-tenant-base/pom.xml
@@ -182,6 +182,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>