HBASE-26803 Ban reload4j and logback dependencies (#4167)
Signed-off-by: Sean Busbey <busbey@apache.org>
This commit is contained in:
parent
19ad3d6654
commit
fee9bb0c2f
26
pom.xml
26
pom.xml
|
@ -1232,25 +1232,7 @@
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
<execution>
|
<execution>
|
||||||
<id>banned-log4j</id>
|
<id>banned-other-logging-framework</id>
|
||||||
<goals>
|
|
||||||
<goal>enforce</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<rules>
|
|
||||||
<bannedDependencies>
|
|
||||||
<excludes>
|
|
||||||
<exclude>log4j:log4j</exclude>
|
|
||||||
</excludes>
|
|
||||||
<message>
|
|
||||||
We do not allow log4j dependencies as now we use log4j2
|
|
||||||
</message>
|
|
||||||
</bannedDependencies>
|
|
||||||
</rules>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<id>banned-slf4j-log4j12</id>
|
|
||||||
<goals>
|
<goals>
|
||||||
<goal>enforce</goal>
|
<goal>enforce</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
@ -1258,10 +1240,14 @@
|
||||||
<rules>
|
<rules>
|
||||||
<bannedDependencies>
|
<bannedDependencies>
|
||||||
<excludes>
|
<excludes>
|
||||||
|
<exclude>log4j:*</exclude>
|
||||||
<exclude>org.slf4j:slf4j-log4j12</exclude>
|
<exclude>org.slf4j:slf4j-log4j12</exclude>
|
||||||
|
<exclude>ch.qos.reload4j:*</exclude>
|
||||||
|
<exclude>org.slf4j:slf4j-reload4j</exclude>
|
||||||
|
<exclude>ch.qos.logback:*</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
<message>
|
<message>
|
||||||
We do not allow slf4j-log4j12 dependency as now we use log4j-slf4j-impl
|
We do not allow other logging frameworks as now we use log4j2
|
||||||
</message>
|
</message>
|
||||||
</bannedDependencies>
|
</bannedDependencies>
|
||||||
</rules>
|
</rules>
|
||||||
|
|
Loading…
Reference in New Issue