File tree Expand file tree Collapse file tree 1 file changed +14
-31
lines changed Expand file tree Collapse file tree 1 file changed +14
-31
lines changed Original file line number Diff line number Diff line change 40
40
41
41
<properties >
42
42
<base .java.version>1.8</base .java.version>
43
+ <maven .compiler.source>${base.java.version} </maven .compiler.source>
44
+ <maven .compiler.target>${base.java.version} </maven .compiler.target>
43
45
44
46
<powermock .version>1.5.2</powermock .version>
45
47
243
245
<artifactId >maven-surefire-plugin</artifactId >
244
246
<version >3.2.1</version >
245
247
</plugin >
246
- <plugin >
247
- <groupId >org.codehaus.mojo</groupId >
248
- <artifactId >animal-sniffer-maven-plugin</artifactId >
249
- <version >1.23</version >
250
- </plugin >
251
248
<plugin >
252
249
<groupId >org.codehaus.mojo</groupId >
253
250
<artifactId >cobertura-maven-plugin</artifactId >
485
482
<artifactId >extra-enforcer-rules</artifactId >
486
483
<version >1.5.1</version >
487
484
</dependency >
488
- <dependency >
489
- <groupId >org.codehaus.mojo</groupId >
490
- <artifactId >animal-sniffer-enforcer-rule</artifactId >
491
- <version >1.21</version >
492
- </dependency >
493
485
</dependencies >
494
486
<executions >
495
487
<execution >
520
512
</executions >
521
513
</plugin >
522
514
523
- <plugin >
524
- <groupId >org.codehaus.mojo</groupId >
525
- <artifactId >animal-sniffer-maven-plugin</artifactId >
526
- <executions >
527
- <execution >
528
- <id >check-java-api</id >
529
- <phase >test</phase >
530
- <goals >
531
- <goal >check</goal >
532
- </goals >
533
- <configuration >
534
- <signature >
535
- <groupId >org.codehaus.mojo.signature</groupId >
536
- <artifactId >java17</artifactId >
537
- <version >1.0</version >
538
- </signature >
539
- </configuration >
540
- </execution >
541
- </executions >
542
- </plugin >
543
-
544
515
<!-- Coverage reporting -->
545
516
<plugin >
546
517
<groupId >org.codehaus.mojo</groupId >
740
711
</plugin >
741
712
</plugins >
742
713
</reporting >
714
+
715
+ <profiles >
716
+ <profile >
717
+ <id >set-compiler-release</id >
718
+ <activation >
719
+ <jdk >[9,)</jdk >
720
+ </activation >
721
+ <properties >
722
+ <maven .compiler.release>${base.java.version} </maven .compiler.release>
723
+ </properties >
724
+ </profile >
725
+ </profiles >
743
726
</project >
You can’t perform that action at this time.
0 commit comments