Migrate from JUnit 4 to JUnit 5
Also resolves failing CI workflow:
https:
//github.com/KorAP/Kustvakt/actions/runs/6261950074/job/17017180336
Change-Id: I31a71419f0443118e973112e0f621d52c11fd81e
diff --git a/full/pom.xml b/full/pom.xml
index 194e4e6..7719546 100644
--- a/full/pom.xml
+++ b/full/pom.xml
@@ -211,13 +211,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.1.2</version>
- <dependencies>
- <dependency>
- <groupId>org.apache.maven.surefire</groupId>
- <artifactId>surefire-junit47</artifactId>
- <version>3.1.2</version>
- </dependency>
- </dependencies>
<configuration>
<reuseForks>true</reuseForks>
<forkCount>1</forkCount>
@@ -370,11 +363,6 @@
<!-- EM:done -->
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.13.2</version>
- </dependency>
- <dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.12.5</version>
@@ -690,24 +678,12 @@
<artifactId>jersey-test-framework-core</artifactId>
<version>${jersey.version}</version>
<scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.test-framework.providers</groupId>
<artifactId>jersey-test-framework-provider-grizzly2</artifactId>
<version>${jersey.version}</version>
<scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<!-- velocity -->
@@ -772,5 +748,11 @@
<version>5.15.0</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter</artifactId>
+ <version>5.10.0</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
</project>