File tree Expand file tree Collapse file tree 2 files changed +49
-2
lines changed
src/it/MCHECKSTYLE-332_cache-treewalker Expand file tree Collapse file tree 2 files changed +49
-2
lines changed Original file line number Diff line number Diff line change @@ -273,6 +273,11 @@ under the License.
273
273
</excludes >
274
274
</configuration >
275
275
</plugin >
276
+ <plugin >
277
+ <groupId >org.apache.maven.plugins</groupId >
278
+ <artifactId >maven-plugin-plugin</artifactId >
279
+ <version >3.5</version >
280
+ </plugin >
276
281
</plugins >
277
282
</pluginManagement >
278
283
<plugins >
@@ -301,7 +306,6 @@ under the License.
301
306
<plugin >
302
307
<groupId >org.codehaus.mojo</groupId >
303
308
<artifactId >animal-sniffer-maven-plugin</artifactId >
304
- <version >1.13</version >
305
309
<configuration >
306
310
<signature >
307
311
<groupId >org.codehaus.mojo.signature</groupId >
@@ -322,6 +326,7 @@ under the License.
322
326
<plugin >
323
327
<groupId >org.codehaus.plexus</groupId >
324
328
<artifactId >plexus-component-metadata</artifactId >
329
+ <version >1.7.1</version >
325
330
<executions >
326
331
<execution >
327
332
<goals >
@@ -392,6 +397,42 @@ under the License.
392
397
</plugins >
393
398
</reporting >
394
399
</profile >
400
+
401
+ <profile >
402
+ <id >jdk9</id >
403
+ <activation >
404
+ <jdk >[9,)</jdk >
405
+ </activation >
406
+ <build >
407
+ <plugins >
408
+ <plugin >
409
+ <groupId >org.apache.maven.plugins</groupId >
410
+ <artifactId >maven-enforcer-plugin</artifactId >
411
+ <executions >
412
+ <execution >
413
+ <id >enforce-bytecode-version</id >
414
+ <configuration >
415
+ <rules >
416
+ <enforceBytecodeVersion >
417
+ <excludes >
418
+ <exclude >javax.xml.bind:jaxb-api</exclude >
419
+ </excludes >
420
+ </enforceBytecodeVersion >
421
+ </rules >
422
+ </configuration >
423
+ </execution >
424
+ </executions >
425
+ </plugin >
426
+ </plugins >
427
+ </build >
428
+ <dependencies >
429
+ <dependency >
430
+ <groupId >javax.xml.bind</groupId >
431
+ <artifactId >jaxb-api</artifactId >
432
+ <version >2.3.0</version >
433
+ </dependency >
434
+ </dependencies >
435
+ </profile >
395
436
</profiles >
396
437
397
438
</project >
Original file line number Diff line number Diff line change 41
41
<plugin >
42
42
<groupId >org.apache.maven.plugins</groupId >
43
43
<artifactId >maven-checkstyle-plugin</artifactId >
44
- <version >@pom .version@</version >
44
+ <version >@project .version@</version >
45
45
<dependencies >
46
46
<!-- force usage of 6.15, where the cacheFile property is in the TreeWalker module -->
47
47
<dependency >
48
48
<groupId >com.puppycrawl.tools</groupId >
49
49
<artifactId >checkstyle</artifactId >
50
50
<version >6.15</version >
51
+ <exclusions >
52
+ <exclusion >
53
+ <groupId >com.sun</groupId >
54
+ <artifactId >tools</artifactId >
55
+ </exclusion >
56
+ </exclusions >
51
57
</dependency >
52
58
</dependencies >
53
59
</plugin >
You can’t perform that action at this time.
0 commit comments