File tree 1 file changed +42
-3
lines changed
1 file changed +42
-3
lines changed Original file line number Diff line number Diff line change 150
150
<artifactId >maven-compiler-plugin</artifactId >
151
151
<version >2.3.2</version >
152
152
<configuration >
153
- <source >1.6 </source >
154
- <target >1.6 </target >
153
+ <source >1.7 </source >
154
+ <target >1.7 </target >
155
155
</configuration >
156
156
</plugin >
157
157
<plugin >
164
164
<nodeprecated >true</nodeprecated >
165
165
</configuration >
166
166
</plugin >
167
- </plugins >
167
+
168
+ <!-- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44228 -->
169
+ <plugin >
170
+ <groupId >org.apache.maven.plugins</groupId >
171
+ <artifactId >maven-enforcer-plugin</artifactId >
172
+ <version >3.0.0</version >
173
+ <executions >
174
+ <execution >
175
+ <id >enforce</id >
176
+ <goals >
177
+ <goal >enforce</goal >
178
+ </goals >
179
+ <configuration >
180
+ <rules >
181
+ <bannedDependencies >
182
+ <excludes >
183
+ <exclude >org.apache.logging.log4j:log4j-core:(,2.16.0)</exclude >
184
+ </excludes >
185
+ </bannedDependencies >
186
+ </rules >
187
+ </configuration >
188
+ </execution >
189
+ </executions >
190
+ </plugin >
191
+ </plugins >
168
192
</build >
169
193
<dependencies >
170
194
<dependency >
221
245
<scope >test</scope >
222
246
</dependency >
223
247
</dependencies >
248
+
249
+ <dependencyManagement >
250
+ <dependencies >
251
+ <dependency >
252
+ <groupId >org.apache.logging.log4j</groupId >
253
+ <artifactId >log4j-bom</artifactId >
254
+ <version >${log4j-version} </version >
255
+ <scope >import</scope >
256
+ <type >pom</type >
257
+ </dependency >
258
+ </dependencies >
259
+ </dependencyManagement >
260
+
224
261
<properties >
225
262
<swagger-annotations-version >1.5.3-M1</swagger-annotations-version >
226
263
<jersey-version >1.18</jersey-version >
227
264
<jackson-version >2.10.0.pr1</jackson-version >
228
265
<jodatime-version >2.3</jodatime-version >
229
266
<maven-plugin-version >1.0.0</maven-plugin-version >
230
267
<junit-version >4.8.1</junit-version >
268
+ <!-- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44228 -->
269
+ <log4j-version >2.16.0</log4j-version >
231
270
<!-- github server corresponds to entry in ~/.m2/settings.xml -->
232
271
<github .global.server>github</github .global.server>
233
272
</properties >
You can’t perform that action at this time.
0 commit comments