File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 127
127
<groupId >org.springframework.boot</groupId >
128
128
<artifactId >spring-boot-maven-plugin</artifactId >
129
129
</plugin >
130
+ <plugin >
131
+ <groupId >org.apache.maven.plugins</groupId >
132
+ <artifactId >maven-enforcer-plugin</artifactId >
133
+ <version >3.0.0</version >
134
+ <executions >
135
+ <execution >
136
+ <id >ban-bad-log4j-versions</id >
137
+ <phase >validate</phase >
138
+ <goals >
139
+ <goal >enforce</goal >
140
+ </goals >
141
+ <configuration >
142
+ <rules >
143
+ <bannedDependencies >
144
+ <excludes combine.children=" append" >
145
+ <exclude >org.apache.logging.log4j:log4j-core:(,2.16.0)</exclude >
146
+ </excludes >
147
+ </bannedDependencies >
148
+ </rules >
149
+ <fail >true</fail >
150
+ </configuration >
151
+ </execution >
152
+ </executions >
153
+ </plugin >
130
154
</plugins >
131
155
</build >
132
156
You can’t perform that action at this time.
0 commit comments