Skip to content

Commit 37660cc

Browse files
committed
fix: Update junit to the latest 5.9.x verson that's working wiht the current spring boot + junit confirugation.
1 parent 9502b5c commit 37660cc

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

pom.xml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
<!-- plugin versions -->
4040
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
41-
<maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
41+
<maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version>
4242
<maven-source-plugin.version>2.2.1</maven-source-plugin.version>
4343
<maven-war-plugin.version>3.4.0</maven-war-plugin.version>
4444
<maven-javadoc-plugin.version>2.9.1</maven-javadoc-plugin.version>
@@ -47,7 +47,18 @@
4747
<build-helper-maven-plugin.version>3.2.0</build-helper-maven-plugin.version>
4848

4949
<!-- test frameworks -->
50-
<junit-jupiter.version>5.11.3</junit-jupiter.version>
50+
51+
<!--
52+
Junit with version 5.10+ fails with:
53+
TestEngine with ID 'junit-jupiter' failed to discover tests
54+
55+
This is probably a Spring compatibilty issue.
56+
57+
todo: Read https://junit.org/junit5/docs/current/user-guide/#running-tests-build-spring-boot
58+
and fix according to it
59+
-->
60+
<junit-jupiter.version>5.9.3</junit-jupiter.version>
61+
5162
<assertj-core.version>3.18.1</assertj-core.version>
5263
<assertj-assertions-generator-maven-plugin.version>2.2.0</assertj-assertions-generator-maven-plugin.version>
5364
<jacoco.version>0.8.12</jacoco.version>

0 commit comments

Comments
 (0)