|
12 | 12 | <quarkus.platform.version>3.28.3</quarkus.platform.version> |
13 | 13 | <!-- miscellaneous --> |
14 | 14 | <wiremock.version>3.4.2</wiremock.version> |
15 | | - <mockito.version>5.12.0</mockito.version> |
| 15 | + <!-- 17-Oct-2025, tatu: Although quarkus-bom provides for Mockito version, |
| 16 | + matching property is NOT available when we import it (instead of using as parent pom. |
| 17 | + But we need version for "maven-surefire-plugin" config! So we have no choice |
| 18 | + but duplicate this, unfortunately & need to keep things in sync manually |
| 19 | + --> |
| 20 | + <mockito.version>5.19.0</mockito.version> |
16 | 21 | <failsafe.useModulePath>false</failsafe.useModulePath> |
17 | 22 | <!-- Integration test props --> |
18 | 23 | <!-- Please update github workflows that build docker images if changing image/additional tags --> |
|
46 | 51 | <!-- Testing --> |
47 | 52 | <skipTests>false</skipTests> |
48 | 53 | <skipUnitTests>${skipTests}</skipUnitTests> |
49 | | - <surefire-plugin.version>3.5.3</surefire-plugin.version> |
| 54 | + <surefire-plugin.version>3.5.4</surefire-plugin.version> |
50 | 55 | <skipITs>false</skipITs> |
51 | 56 | </properties> |
52 | 57 | <dependencyManagement> |
|
304 | 309 | <artifactId>maven-surefire-plugin</artifactId> |
305 | 310 | <version>${surefire-plugin.version}</version> |
306 | 311 | <configuration> |
307 | | - <argLine>-Xmx4g</argLine> |
| 312 | + <!-- 17-Oct-2025, tatu: agent settings needed to get rid of "inline mock" warning by Mockito; |
| 313 | + leading to duplication of "mockito.version". |
| 314 | + See: https://github.com/stargate/data-api/pull/2233 |
| 315 | + --> |
| 316 | + <argLine>-Xmx4g -javaagent:${settings.localRepository}/org/mockito/mockito-core/${mockito.version}/mockito-core-${mockito.version}.jar</argLine> |
308 | 317 | <systemPropertyVariables> |
309 | 318 | <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> |
310 | 319 | <maven.home>${maven.home}</maven.home> |
|
0 commit comments