File tree Expand file tree Collapse file tree 1 file changed +23
-4
lines changed Expand file tree Collapse file tree 1 file changed +23
-4
lines changed Original file line number Diff line number Diff line change 6262 --add-opens java.base/java.util=ALL-UNNAMED
6363 --add-opens java.base/java.lang=ALL-UNNAMED
6464 </surefireArgLine >
65+ <skip .tests>false</skip .tests>
6566 </properties >
6667
6768 <dependencies >
9798 <dependency >
9899 <groupId >org.mockito</groupId >
99100 <artifactId >mockito-core</artifactId >
100- <version >4.11 .0</version >
101+ <version >5.2 .0</version >
101102 <scope >test</scope >
102103 </dependency >
103104
238239 <version >3.13.0</version >
239240
240241 <configuration >
241- <source >8</ source >
242- <target >8</target >
242+ <!-- this will throw an error if we use wrong apis -- >
243+ <release >8</release >
243244 </configuration >
244245 </plugin >
245246
545546 <id >java8</id >
546547 <properties >
547548 <toolchain .jdk.version>(1.8,9)</toolchain .jdk.version>
549+ <skip .tests>true</skip .tests>
548550 </properties >
549551
550552 <build >
566568 <artifactId >maven-surefire-plugin</artifactId >
567569 <version >3.5.2</version >
568570 <configuration >
569- <skipTests >true </skipTests >
571+ <skipTests >${skip.tests} </skipTests >
570572 </configuration >
571573 </plugin >
574+ <plugin >
575+ <groupId >org.apache.maven.plugins</groupId >
576+ <artifactId >maven-compiler-plugin</artifactId >
577+ <version >3.13.0</version >
578+ <executions >
579+ <execution >
580+ <id >default-testCompile</id >
581+ <phase >test-compile</phase >
582+ <goals >
583+ <goal >testCompile</goal >
584+ </goals >
585+ <configuration >
586+ <skip >true</skip >
587+ </configuration >
588+ </execution >
589+ </executions >
590+ </plugin >
572591 </plugins >
573592 </build >
574593 </profile >
You can’t perform that action at this time.
0 commit comments