Upgrade Mockito to 5.19, junit-jupiter to 5.13.4 (#4991)

* Upgrade Mockito from 4.11 to 5.19.
  Changelog: https://github.com/mockito/mockito/releases
* Upgrade junit-jupiter from 5.11.4 to 5.13.4
  Changelog: https://docs.junit.org/5.13.4/release-notes
* Add workaround to allow junit-jupiter>=5.12 with OSGI

* Activate javaagent for tests to avoid JDK warnings

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This commit is contained in:
Holger Friedrich
2025-09-09 18:58:31 +02:00
committed by GitHub
parent 49b48e1812
commit b535d22d4d
106 changed files with 271 additions and 266 deletions
+3 -5
View File
@@ -19,19 +19,17 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<!-- junit 5.12.0 to 5.13.0-M3 fails silently with bnd 7.1.0, not executing unit tests;
not sure if this is a bnd/junit issue or due to wrong configuration -->
<version>5.11.4</version>
<version>5.13.4</version>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>1.11.4</version>
<version>1.13.4</version>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-engine</artifactId>
<version>1.11.4</version>
<version>1.13.4</version>
</dependency>
<dependency>
<groupId>biz.aQute.bnd</groupId>