Skip to content

Commit 746a0d7

Browse files
authored
Merge pull request #117 from git-commit-id/113
#113: replace junit:junit:4.13.2:test with org.junit.jupiter:junit-jupiter-*:5.10.2:test
2 parents 5be6130 + 2deff78 commit 746a0d7

10 files changed

+268
-252
lines changed

pom.xml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
https://github.com/eclipse-jgit/jgit/issues/36
4646
-->
4747
<jgit.version>6.7.0.202309050840-r</jgit.version>
48-
<junit.version>4.13.2</junit.version>
48+
<junit.version>5.10.2</junit.version>
4949
<mockito.version>5.11.0</mockito.version>
5050
<assertj.version>3.25.3</assertj.version>
5151
</properties>
@@ -253,8 +253,20 @@
253253

254254
<!-- Test stuff -->
255255
<dependency>
256-
<groupId>junit</groupId>
257-
<artifactId>junit</artifactId>
256+
<groupId>org.junit.jupiter</groupId>
257+
<artifactId>junit-jupiter-api</artifactId>
258+
<version>${junit.version}</version>
259+
<scope>test</scope>
260+
</dependency>
261+
<dependency>
262+
<groupId>org.junit.jupiter</groupId>
263+
<artifactId>junit-jupiter-engine</artifactId>
264+
<version>${junit.version}</version>
265+
<scope>test</scope>
266+
</dependency>
267+
<dependency>
268+
<groupId>org.junit.jupiter</groupId>
269+
<artifactId>junit-jupiter-params</artifactId>
258270
<version>${junit.version}</version>
259271
<scope>test</scope>
260272
</dependency>
@@ -277,12 +289,6 @@
277289
<type>jar</type>
278290
<scope>test</scope>
279291
</dependency>
280-
<dependency>
281-
<groupId>pl.pragmatists</groupId>
282-
<artifactId>JUnitParams</artifactId>
283-
<version>1.1.1</version>
284-
<scope>test</scope>
285-
</dependency>
286292
<!-- slf4j is a dependency of jgit, this suppresses slf4j's warning during testing when we mock jgit stuff -->
287293
<dependency>
288294
<groupId>org.slf4j</groupId>

0 commit comments

Comments
 (0)