|
49 | 49 | </scm> |
50 | 50 |
|
51 | 51 | <properties> |
52 | | - <toolchain.jdk.version>[17,)</toolchain.jdk.version> |
53 | | - <junit.jupiter.version>5.11.4</junit.jupiter.version> |
| 52 | + <toolchain.jdk.version>[21,)</toolchain.jdk.version> |
54 | 53 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
55 | 54 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
56 | 55 | <module-name>${groupId}.${artifactId}</module-name> |
57 | | - <io.cucumber.version>7.21.1</io.cucumber.version> |
58 | | - <org.mockito.version>5.2.0</org.mockito.version> |
59 | 56 | <javadoc.failOnWarnings>true</javadoc.failOnWarnings> |
60 | 57 | <!-- This is required for later correct replacement of surefireArgLine --> |
61 | 58 | <!-- see surefire-java8 and surefire-java9+ profiles --> |
|
65 | 62 | </surefireArgLine> |
66 | 63 | <skip.tests>false</skip.tests> |
67 | 64 | <!-- this will throw an error if we use APIs not available in the specified version --> |
68 | | - <maven.compiler.release>8</maven.compiler.release> |
| 65 | + <maven.compiler.release>8</maven.compiler.release> |
69 | 66 | </properties> |
70 | 67 |
|
| 68 | + <dependencyManagement> |
| 69 | + <dependencies> |
| 70 | + <dependency> |
| 71 | + <groupId>org.junit</groupId> |
| 72 | + <artifactId>junit-bom</artifactId> |
| 73 | + <version>5.12.0</version> |
| 74 | + <type>pom</type> |
| 75 | + <scope>import</scope> |
| 76 | + </dependency> |
| 77 | + <dependency> |
| 78 | + <groupId>io.cucumber</groupId> |
| 79 | + <artifactId>cucumber-bom</artifactId> |
| 80 | + <version>7.21.1</version> |
| 81 | + <type>pom</type> |
| 82 | + <scope>import</scope> |
| 83 | + </dependency> |
| 84 | + <dependency> |
| 85 | + <groupId>org.mockito</groupId> |
| 86 | + <artifactId>mockito-bom</artifactId> |
| 87 | + <version>5.15.2</version> |
| 88 | + <type>pom</type> |
| 89 | + <scope>import</scope> |
| 90 | + </dependency> |
| 91 | + </dependencies> |
| 92 | + </dependencyManagement> |
| 93 | + |
71 | 94 | <dependencies> |
72 | 95 | <dependency> |
73 | 96 | <!-- provided --> |
|
101 | 124 | <dependency> |
102 | 125 | <groupId>org.mockito</groupId> |
103 | 126 | <artifactId>mockito-core</artifactId> |
104 | | - <version>${org.mockito.version}</version> |
105 | | - <scope>test</scope> |
106 | | - </dependency> |
107 | | - |
108 | | - <!-- Start mockito workaround --> |
109 | | - <!-- https://github.com/mockito/mockito/issues/3121 --> |
110 | | - <!-- These are transitive dependencies of mockito we are forcing --> |
111 | | - <dependency> |
112 | | - <groupId>net.bytebuddy</groupId> |
113 | | - <artifactId>byte-buddy</artifactId> |
114 | | - <version>1.17.2</version> |
115 | | - <scope>test</scope> |
116 | | - </dependency> |
117 | | - |
118 | | - <dependency> |
119 | | - <groupId>net.bytebuddy</groupId> |
120 | | - <artifactId>byte-buddy-agent</artifactId> |
121 | | - <version>1.17.2</version> |
122 | 127 | <scope>test</scope> |
123 | 128 | </dependency> |
124 | | - <!-- End mockito workaround--> |
125 | 129 |
|
126 | 130 | <dependency> |
127 | 131 | <groupId>uk.org.lidalia</groupId> |
|
140 | 144 | <dependency> |
141 | 145 | <groupId>org.junit.jupiter</groupId> |
142 | 146 | <artifactId>junit-jupiter</artifactId> |
143 | | - <version>${junit.jupiter.version}</version> |
144 | 147 | <scope>test</scope> |
145 | 148 | </dependency> |
146 | 149 |
|
147 | 150 | <dependency> |
148 | 151 | <groupId>org.junit.jupiter</groupId> |
149 | 152 | <artifactId>junit-jupiter-engine</artifactId> |
150 | | - <version>${junit.jupiter.version}</version> |
151 | 153 | <scope>test</scope> |
152 | 154 | </dependency> |
153 | 155 |
|
154 | 156 | <dependency> |
155 | 157 | <groupId>org.junit.jupiter</groupId> |
156 | 158 | <artifactId>junit-jupiter-api</artifactId> |
157 | | - <version>${junit.jupiter.version}</version> |
158 | 159 | <scope>test</scope> |
159 | 160 | </dependency> |
160 | 161 |
|
161 | 162 | <dependency> |
162 | 163 | <groupId>org.junit.jupiter</groupId> |
163 | 164 | <artifactId>junit-jupiter-params</artifactId> |
164 | | - <version>${junit.jupiter.version}</version> |
165 | 165 | <scope>test</scope> |
166 | 166 | </dependency> |
167 | 167 |
|
168 | 168 | <dependency> |
169 | 169 | <groupId>org.junit.platform</groupId> |
170 | 170 | <artifactId>junit-platform-suite</artifactId> |
171 | | - <version>1.11.4</version> |
172 | 171 | <scope>test</scope> |
173 | 172 | </dependency> |
174 | 173 |
|
|
182 | 181 | <dependency> |
183 | 182 | <groupId>org.mockito</groupId> |
184 | 183 | <artifactId>mockito-junit-jupiter</artifactId> |
185 | | - <version>5.15.2</version> |
186 | | - <scope>test</scope> |
187 | | - </dependency> |
188 | | - |
189 | | - <dependency> |
190 | | - <groupId>org.mockito</groupId> |
191 | | - <artifactId>mockito-inline</artifactId> |
192 | | - <version>${org.mockito.version}</version> |
193 | 184 | <scope>test</scope> |
194 | 185 | </dependency> |
195 | 186 |
|
196 | 187 | <dependency> |
197 | 188 | <groupId>io.cucumber</groupId> |
198 | 189 | <artifactId>cucumber-java</artifactId> |
199 | | - <version>${io.cucumber.version}</version> |
200 | 190 | <scope>test</scope> |
201 | 191 | </dependency> |
202 | 192 |
|
203 | 193 | <dependency> |
204 | 194 | <groupId>io.cucumber</groupId> |
205 | 195 | <artifactId>cucumber-junit-platform-engine</artifactId> |
206 | | - <version>${io.cucumber.version}</version> |
207 | 196 | <scope>test</scope> |
208 | 197 | </dependency> |
209 | 198 |
|
210 | 199 | <dependency> |
211 | 200 | <groupId>io.cucumber</groupId> |
212 | 201 | <artifactId>cucumber-picocontainer</artifactId> |
213 | | - <version>${io.cucumber.version}</version> |
214 | 202 | <scope>test</scope> |
215 | 203 | </dependency> |
216 | 204 |
|
|
401 | 389 | <activation> |
402 | 390 | <activeByDefault>true</activeByDefault> |
403 | 391 | </activation> |
| 392 | + <properties> |
| 393 | + <maven.compiler.proc>full</maven.compiler.proc> |
| 394 | + </properties> |
404 | 395 | <build> |
405 | 396 | <plugins> |
406 | 397 | <!-- CODE QUALITY TOOLS --> |
|
420 | 411 | <dependency> |
421 | 412 | <groupId>com.puppycrawl.tools</groupId> |
422 | 413 | <artifactId>checkstyle</artifactId> |
423 | | - <version>10.21.3</version> |
| 414 | + <version>10.21.4</version> |
424 | 415 | </dependency> |
425 | 416 | </dependencies> |
426 | 417 | <executions> |
|
456 | 447 | <plugin> |
457 | 448 | <groupId>com.github.spotbugs</groupId> |
458 | 449 | <artifactId>spotbugs-maven-plugin</artifactId> |
459 | | - <version>4.9.1.0</version> |
| 450 | + <version>4.9.2.0</version> |
460 | 451 | <configuration> |
461 | 452 | <excludeFilterFile>spotbugs-exclusions.xml</excludeFilterFile> |
462 | 453 | <plugins> |
|
0 commit comments