|
55 | 55 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
56 | 56 | <module-name>${groupId}.${artifactId}</module-name> |
57 | 57 | <io.cucumber.version>7.21.1</io.cucumber.version> |
| 58 | + <org.mockito.version>5.2.0</org.mockito.version> |
58 | 59 | <javadoc.failOnWarnings>true</javadoc.failOnWarnings> |
59 | 60 | <!-- This is required for later correct replacement of surefireArgLine --> |
60 | 61 | <!-- see surefire-java8 and surefire-java9+ profiles --> |
|
64 | 65 | </surefireArgLine> |
65 | 66 | <skip.tests>false</skip.tests> |
66 | 67 | <!-- this will throw an error if we use wrong apis --> |
67 | | - <maven.compiler.release>8</maven.compiler.release> |
| 68 | + <maven.compiler.release>8</maven.compiler.release> |
68 | 69 | </properties> |
69 | 70 |
|
70 | 71 | <dependencies> |
|
100 | 101 | <dependency> |
101 | 102 | <groupId>org.mockito</groupId> |
102 | 103 | <artifactId>mockito-core</artifactId> |
103 | | - <version>5.2.0</version> |
| 104 | + <version>${org.mockito.version}</version> |
104 | 105 | <scope>test</scope> |
105 | 106 | </dependency> |
106 | 107 |
|
|
174 | 175 | <dependency> |
175 | 176 | <groupId>org.junit-pioneer</groupId> |
176 | 177 | <artifactId>junit-pioneer</artifactId> |
177 | | - <version>1.9.1</version> |
| 178 | + <version>2.3.0</version> |
178 | 179 | <scope>test</scope> |
179 | 180 | </dependency> |
180 | 181 |
|
181 | 182 | <dependency> |
182 | 183 | <groupId>org.mockito</groupId> |
183 | 184 | <artifactId>mockito-junit-jupiter</artifactId> |
184 | | - <version>4.11.0</version> |
| 185 | + <version>5.15.2</version> |
185 | 186 | <scope>test</scope> |
186 | 187 | </dependency> |
187 | 188 |
|
188 | 189 | <dependency> |
189 | 190 | <groupId>org.mockito</groupId> |
190 | 191 | <artifactId>mockito-inline</artifactId> |
191 | | - <version>4.11.0</version> |
| 192 | + <version>${org.mockito.version}</version> |
192 | 193 | <scope>test</scope> |
193 | 194 | </dependency> |
194 | 195 |
|
|
471 | 472 | <dependency> |
472 | 473 | <groupId>com.github.spotbugs</groupId> |
473 | 474 | <artifactId>spotbugs</artifactId> |
474 | | - <version>4.8.6</version> |
| 475 | + <version>4.9.0</version> |
475 | 476 | </dependency> |
476 | 477 | </dependencies> |
477 | 478 | <executions> |
|
541 | 542 | <!-- selected automatically by JDK activeation (see https://maven.apache.org/guides/introduction/introduction-to-profiles.html#implicit-profile-activation) --> |
542 | 543 | <profile> |
543 | 544 | <id>java8</id> |
| 545 | + <!-- with the next block we can define a set of sdks which still support java 8, if any of the sdks is not supporting java 8 anymore --> |
| 546 | + <!--<modules><module></module></modules>--> |
544 | 547 | <properties> |
545 | 548 | <toolchain.jdk.version>(1.8,9)</toolchain.jdk.version> |
546 | 549 | <skip.tests>true</skip.tests> |
|
0 commit comments