|
135 | 135 | <scope>provided</scope> |
136 | 136 | </dependency> |
137 | 137 | <!-- dependencies for running tests --> |
138 | | - <dependency> |
139 | | - <groupId>org.mockito</groupId> |
140 | | - <artifactId>mockito-core</artifactId> |
141 | | - <version>4.11.0</version> |
142 | | - <scope>test</scope> |
143 | | - </dependency> |
144 | | - <dependency> |
145 | | - <groupId>org.mockito</groupId> |
146 | | - <artifactId>mockito-inline</artifactId> |
147 | | - <version>4.11.0</version> |
148 | | - <scope>test</scope> |
149 | | - </dependency> |
150 | | - <dependency> |
151 | | - <groupId>net.bytebuddy</groupId> |
152 | | - <artifactId>byte-buddy</artifactId> |
153 | | - <version>1.15.11</version> |
154 | | - <scope>test</scope> |
155 | | - </dependency> |
156 | | - <dependency> |
157 | | - <groupId>net.bytebuddy</groupId> |
158 | | - <artifactId>byte-buddy-agent</artifactId> |
159 | | - <version>1.15.11</version> |
160 | | - <scope>test</scope> |
161 | | - </dependency> |
162 | 138 | <dependency> |
163 | 139 | <groupId>org.junit.platform</groupId> |
164 | 140 | <artifactId>junit-platform-console</artifactId> |
|
271 | 247 | <profiles> |
272 | 248 | <profile> |
273 | 249 | <id>jre8</id> |
| 250 | + <dependencies> |
| 251 | + <dependency> |
| 252 | + <groupId>org.mockito</groupId> |
| 253 | + <artifactId>mockito-core</artifactId> |
| 254 | + <version>4.11.0</version> |
| 255 | + <scope>test</scope> |
| 256 | + </dependency> |
| 257 | + <dependency> |
| 258 | + <groupId>org.mockito</groupId> |
| 259 | + <artifactId>mockito-inline</artifactId> |
| 260 | + <version>4.11.0</version> |
| 261 | + <scope>test</scope> |
| 262 | + </dependency> |
| 263 | + <dependency> |
| 264 | + <groupId>net.bytebuddy</groupId> |
| 265 | + <artifactId>byte-buddy</artifactId> |
| 266 | + <version>1.15.11</version> |
| 267 | + <scope>test</scope> |
| 268 | + </dependency> |
| 269 | + <dependency> |
| 270 | + <groupId>net.bytebuddy</groupId> |
| 271 | + <artifactId>byte-buddy-agent</artifactId> |
| 272 | + <version>1.15.11</version> |
| 273 | + <scope>test</scope> |
| 274 | + </dependency> |
| 275 | + </dependencies> |
274 | 276 | <build> |
275 | 277 | <finalName>${project.artifactId}-${project.version}.jre8${releaseExt}</finalName> |
276 | 278 | <plugins> |
|
324 | 326 | </profile> |
325 | 327 | <profile> |
326 | 328 | <id>jre11</id> |
| 329 | + <dependencies> |
| 330 | + <!-- JDK 11 compatible Mockito --> |
| 331 | + <dependency> |
| 332 | + <groupId>org.mockito</groupId> |
| 333 | + <artifactId>mockito-core</artifactId> |
| 334 | + <version>5.14.2</version> |
| 335 | + <scope>test</scope> |
| 336 | + </dependency> |
| 337 | + <dependency> |
| 338 | + <groupId>net.bytebuddy</groupId> |
| 339 | + <artifactId>byte-buddy</artifactId> |
| 340 | + <version>1.17.5</version> |
| 341 | + <scope>test</scope> |
| 342 | + </dependency> |
| 343 | + <dependency> |
| 344 | + <groupId>net.bytebuddy</groupId> |
| 345 | + <artifactId>byte-buddy-agent</artifactId> |
| 346 | + <version>1.17.5</version> |
| 347 | + <scope>test</scope> |
| 348 | + </dependency> |
| 349 | + </dependencies> |
327 | 350 | <build> |
328 | 351 | <finalName>${project.artifactId}-${project.version}.jre11${releaseExt}</finalName> |
329 | 352 | <plugins> |
|
357 | 380 | </profile> |
358 | 381 | <profile> |
359 | 382 | <id>jre17</id> |
| 383 | + <dependencies> |
| 384 | + <!-- JDK 17 compatible Mockito --> |
| 385 | + <dependency> |
| 386 | + <groupId>org.mockito</groupId> |
| 387 | + <artifactId>mockito-core</artifactId> |
| 388 | + <version>5.14.2</version> |
| 389 | + <scope>test</scope> |
| 390 | + </dependency> |
| 391 | + <dependency> |
| 392 | + <groupId>net.bytebuddy</groupId> |
| 393 | + <artifactId>byte-buddy</artifactId> |
| 394 | + <version>1.17.5</version> |
| 395 | + <scope>test</scope> |
| 396 | + </dependency> |
| 397 | + <dependency> |
| 398 | + <groupId>net.bytebuddy</groupId> |
| 399 | + <artifactId>byte-buddy-agent</artifactId> |
| 400 | + <version>1.17.5</version> |
| 401 | + <scope>test</scope> |
| 402 | + </dependency> |
| 403 | + </dependencies> |
360 | 404 | <build> |
361 | 405 | <finalName>${project.artifactId}-${project.version}.jre17${releaseExt}</finalName> |
362 | 406 | <plugins> |
|
390 | 434 | </profile> |
391 | 435 | <profile> |
392 | 436 | <id>jre21</id> |
| 437 | + <dependencies> |
| 438 | + <!-- JDK 21 compatible Mockito --> |
| 439 | + <dependency> |
| 440 | + <groupId>org.mockito</groupId> |
| 441 | + <artifactId>mockito-core</artifactId> |
| 442 | + <version>5.14.2</version> |
| 443 | + <scope>test</scope> |
| 444 | + </dependency> |
| 445 | + <dependency> |
| 446 | + <groupId>net.bytebuddy</groupId> |
| 447 | + <artifactId>byte-buddy</artifactId> |
| 448 | + <version>1.17.5</version> |
| 449 | + <scope>test</scope> |
| 450 | + </dependency> |
| 451 | + <dependency> |
| 452 | + <groupId>net.bytebuddy</groupId> |
| 453 | + <artifactId>byte-buddy-agent</artifactId> |
| 454 | + <version>1.17.5</version> |
| 455 | + <scope>test</scope> |
| 456 | + </dependency> |
| 457 | + </dependencies> |
393 | 458 | <build> |
394 | 459 | <finalName>${project.artifactId}-${project.version}.jre21${releaseExt}</finalName> |
395 | 460 | <plugins> |
|
422 | 487 | </build> |
423 | 488 | </profile> |
424 | 489 | <profile> |
425 | | - <id>jre23</id> |
| 490 | + <id>jre25</id> |
426 | 491 | <activation> |
427 | 492 | <activeByDefault>true</activeByDefault> |
428 | 493 | </activation> |
| 494 | + <dependencies> |
| 495 | + <!-- JDK 25 compatible Mockito --> |
| 496 | + <dependency> |
| 497 | + <groupId>org.mockito</groupId> |
| 498 | + <artifactId>mockito-core</artifactId> |
| 499 | + <version>5.14.2</version> |
| 500 | + <scope>test</scope> |
| 501 | + </dependency> |
| 502 | + <dependency> |
| 503 | + <groupId>net.bytebuddy</groupId> |
| 504 | + <artifactId>byte-buddy</artifactId> |
| 505 | + <version>1.17.5</version> |
| 506 | + <scope>test</scope> |
| 507 | + </dependency> |
| 508 | + <dependency> |
| 509 | + <groupId>net.bytebuddy</groupId> |
| 510 | + <artifactId>byte-buddy-agent</artifactId> |
| 511 | + <version>1.17.5</version> |
| 512 | + <scope>test</scope> |
| 513 | + </dependency> |
| 514 | + </dependencies> |
429 | 515 | <build> |
430 | | - <finalName>${project.artifactId}-${project.version}.jre23${releaseExt}</finalName> |
| 516 | + <finalName>${project.artifactId}-${project.version}.jre25${releaseExt}</finalName> |
431 | 517 | <plugins> |
432 | 518 | <plugin> |
433 | 519 | <groupId>org.apache.maven.plugins</groupId> |
|
437 | 523 | <excludes> |
438 | 524 | <exclude>**/com/microsoft/sqlserver/jdbc/SQLServerJdbc42.java</exclude> |
439 | 525 | </excludes> |
440 | | - <source>23</source> |
441 | | - <target>23</target> |
| 526 | + <source>25</source> |
| 527 | + <target>25</target> |
442 | 528 | </configuration> |
443 | 529 | </plugin> |
444 | 530 | <plugin> |
|
603 | 689 | <plugin> |
604 | 690 | <groupId>org.jacoco</groupId> |
605 | 691 | <artifactId>jacoco-maven-plugin</artifactId> |
606 | | - <version>0.8.12</version> |
| 692 | + <version>0.8.14</version> |
607 | 693 | <executions> |
608 | 694 | <execution> |
609 | 695 | <id>pre-test</id> |
|
0 commit comments