commit | 9546574fc35923a74ec077307345e4545e794f8b | [log] [tgz] |
---|---|---|
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | Fri Feb 17 17:56:32 2023 +0000 |
committer | margaretha <margaretha@ids-mannheim.de> | Mon Feb 20 10:24:02 2023 +0100 |
tree | 49a3ccc28f2d6756edbf5ef47acec572df18f8ec | |
parent | cd468938e99a9d6e7d5a85d32ad972cfc6c99074 [diff] [blame] |
Bump jersey.version from 2.37 to 2.39 and fix surefire tests Resolves JUnit 4 vs. 5 clash between inderict dependencies and surefire and fixes "Tests run: 0" after jersey.version bump to > v2.37. See: https://github.com/KorAP/Kustvakt/actions/runs/4206284167/jobs/7299562454#step:10:2690 See: https://maven.apache.org/surefire/maven-surefire-plugin/examples/junit.html#manually-specifying-a-provider Resolves #526 #527 #528 Change-Id: Ib714d7e6c24a490419eb30174e1a87f9a5b733eb
diff --git a/lite/pom.xml b/lite/pom.xml index ecbe913..e2524b2 100644 --- a/lite/pom.xml +++ b/lite/pom.xml
@@ -7,7 +7,7 @@ <properties> <java.version>11</java.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <jersey.version>2.37</jersey.version> + <jersey.version>2.39</jersey.version> </properties> <build> @@ -68,6 +68,13 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.22.2</version> + <dependencies> + <dependency> + <groupId>org.apache.maven.surefire</groupId> + <artifactId>surefire-junit47</artifactId> + <version>2.22.2</version> + </dependency> + </dependencies> <configuration> <useSystemClassLoader>false</useSystemClassLoader> <reuseForks>true</reuseForks>