File tree Expand file tree Collapse file tree 1 file changed +31
-8
lines changed Expand file tree Collapse file tree 1 file changed +31
-8
lines changed Original file line number Diff line number Diff line change 277
277
</extraArtifacts >
278
278
</configuration >
279
279
</plugin >
280
+ <plugin >
281
+ <groupId >org.apache.maven.plugins</groupId >
282
+ <artifactId >maven-enforcer-plugin</artifactId >
283
+ <version >3.4.1</version >
284
+ <executions >
285
+ <execution >
286
+ <goals >
287
+ <goal >enforce</goal >
288
+ </goals >
289
+ </execution >
290
+ </executions >
291
+ <configuration >
292
+ <rules >
293
+ <enforceBytecodeVersion >
294
+ <maxJdkVersion >${targetJdk} </maxJdkVersion >
295
+ <ignoredScopes >
296
+ <scope >provided</scope >
297
+ <scope >test</scope >
298
+ </ignoredScopes >
299
+ <ignoreOptionals />
300
+ </enforceBytecodeVersion >
301
+ </rules >
302
+ </configuration >
303
+ <dependencies >
304
+ <dependency >
305
+ <groupId >org.codehaus.mojo</groupId >
306
+ <artifactId >extra-enforcer-rules</artifactId >
307
+ <version >1.7.0</version >
308
+ </dependency >
309
+ </dependencies >
310
+ </plugin >
280
311
<plugin >
281
312
<groupId >org.apache.maven.plugins</groupId >
282
313
<artifactId >maven-site-plugin</artifactId >
376
407
<plugin >
377
408
<groupId >org.apache.maven.plugins</groupId >
378
409
<artifactId >maven-enforcer-plugin</artifactId >
379
- <version >3.3.0</version >
380
- <executions >
381
- <execution >
382
- <goals >
383
- <goal >enforce</goal >
384
- </goals >
385
- </execution >
386
- </executions >
387
410
<configuration >
388
411
<rules >
389
412
<requireJavaVersion >
You can’t perform that action at this time.
0 commit comments