Skip to content

Commit 880b234

Browse files
kaiwinteriluwatar
authored andcommitted
Fixes iluwatar#1007 by updating JUnit to 5.5.2 (iluwatar#1015)
The missing class PreconditionViolationException is contained in junit-platform-commons which comes in transitively by this JUnit version. junit-jupiter-api had to be added because spring-boot-dependencies imports an older version of this dependency.
1 parent a5646b6 commit 880b234

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pom.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<spring-data.version>2.0.14.RELEASE</spring-data.version>
4040
<h2.version>1.4.190</h2.version>
4141
<junit.version>4.12</junit.version>
42-
<junit-jupiter.version>5.0.2</junit-jupiter.version>
42+
<junit-jupiter.version>5.5.2</junit-jupiter.version>
4343
<junit-vintage.version>${junit.version}.2</junit-vintage.version>
4444
<sping-test-junit5.version>1.0.2</sping-test-junit5.version>
4545
<compiler.version>3.8.1</compiler.version>
@@ -242,6 +242,12 @@
242242
<version>${junit.version}</version>
243243
<scope>test</scope>
244244
</dependency>
245+
<dependency>
246+
<groupId>org.junit.jupiter</groupId>
247+
<artifactId>junit-jupiter-api</artifactId>
248+
<version>${junit-jupiter.version}</version>
249+
<scope>test</scope>
250+
</dependency>
245251
<dependency>
246252
<groupId>org.junit.jupiter</groupId>
247253
<artifactId>junit-jupiter-engine</artifactId>

0 commit comments

Comments
 (0)