File tree Expand file tree Collapse file tree 1 file changed +6
-20
lines changed Expand file tree Collapse file tree 1 file changed +6
-20
lines changed Original file line number Diff line number Diff line change 12321232 </configuration >
12331233 </execution >
12341234 <execution >
1235- <id >banned-log4j</id >
1236- <goals >
1237- <goal >enforce</goal >
1238- </goals >
1239- <configuration >
1240- <rules >
1241- <bannedDependencies >
1242- <excludes >
1243- <exclude >log4j:log4j</exclude >
1244- </excludes >
1245- <message >
1246- We do not allow log4j dependencies as now we use log4j2
1247- </message >
1248- </bannedDependencies >
1249- </rules >
1250- </configuration >
1251- </execution >
1252- <execution >
1253- <id >banned-slf4j-log4j12</id >
1235+ <id >banned-other-logging-framework</id >
12541236 <goals >
12551237 <goal >enforce</goal >
12561238 </goals >
12571239 <configuration >
12581240 <rules >
12591241 <bannedDependencies >
12601242 <excludes >
1243+ <exclude >log4j:*</exclude >
12611244 <exclude >org.slf4j:slf4j-log4j12</exclude >
1245+ <exclude >ch.qos.reload4j:*</exclude >
1246+ <exclude >org.slf4j:slf4j-reload4j</exclude >
1247+ <exclude >ch.qos.logback:*</exclude >
12621248 </excludes >
12631249 <message >
1264- We do not allow slf4j-log4j12 dependency as now we use log4j-slf4j-impl
1250+ We do not allow other logging frameworks as now we use log4j2
12651251 </message >
12661252 </bannedDependencies >
12671253 </rules >
You can’t perform that action at this time.
0 commit comments