File tree 1 file changed +23
-7
lines changed
1 file changed +23
-7
lines changed Original file line number Diff line number Diff line change 62
62
--add-opens java.base/java.util=ALL-UNNAMED
63
63
--add-opens java.base/java.lang=ALL-UNNAMED
64
64
</surefireArgLine >
65
+ <skip .tests>false</skip .tests>
66
+ <!-- this will throw an error if we use wrong apis -->
67
+ <maven .compiler.release>8</maven .compiler.release>
65
68
</properties >
66
69
67
70
<dependencies >
97
100
<dependency >
98
101
<groupId >org.mockito</groupId >
99
102
<artifactId >mockito-core</artifactId >
100
- <version >4.11 .0</version >
103
+ <version >5.2 .0</version >
101
104
<scope >test</scope >
102
105
</dependency >
103
106
236
239
<plugin >
237
240
<artifactId >maven-compiler-plugin</artifactId >
238
241
<version >3.13.0</version >
239
-
240
- <configuration >
241
- <source >8</source >
242
- <target >8</target >
243
- </configuration >
244
242
</plugin >
245
243
246
244
<!-- automatically derive a module name from the groupId and artifactId -->
545
543
<id >java8</id >
546
544
<properties >
547
545
<toolchain .jdk.version>(1.8,9)</toolchain .jdk.version>
546
+ <skip .tests>true</skip .tests>
548
547
</properties >
549
548
550
549
<build >
566
565
<artifactId >maven-surefire-plugin</artifactId >
567
566
<version >3.5.2</version >
568
567
<configuration >
569
- <skipTests >true </skipTests >
568
+ <skipTests >${skip.tests} </skipTests >
570
569
</configuration >
571
570
</plugin >
571
+ <plugin >
572
+ <groupId >org.apache.maven.plugins</groupId >
573
+ <artifactId >maven-compiler-plugin</artifactId >
574
+ <version >3.13.0</version >
575
+ <executions >
576
+ <execution >
577
+ <id >default-testCompile</id >
578
+ <phase >test-compile</phase >
579
+ <goals >
580
+ <goal >testCompile</goal >
581
+ </goals >
582
+ <configuration >
583
+ <skip >true</skip >
584
+ </configuration >
585
+ </execution >
586
+ </executions >
587
+ </plugin >
572
588
</plugins >
573
589
</build >
574
590
</profile >
You can’t perform that action at this time.
0 commit comments