You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2021/08/17 07:08:09 UTC
[commons-rng] 01/13: RNG-163: Update pom dependency JUnit 4 to
JUnit 5
This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git
commit 46dbfb2155799b9a810876f4e3e53b1de2caabe7
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Sun Aug 15 09:19:20 2021 +0100
RNG-163: Update pom dependency JUnit 4 to JUnit 5
Inclusion of the junit-vintage-engine allows all existing tests to run.
---
pom.xml | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/pom.xml b/pom.xml
index 4f7b9bf..815c8c3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -60,6 +60,7 @@
<rng.mathjax.url>https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js</rng.mathjax.url>
<rng.antrun.version>1.8</rng.antrun.version>
<rng.surefire.version>3.0.0-M5</rng.surefire.version>
+ <rng.junit5.version>5.7.2</rng.junit5.version>
<!-- Workaround to avoid duplicating config files. -->
<rng.parent.dir>${basedir}</rng.parent.dir>
@@ -133,9 +134,15 @@
<dependencies>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.13.2</version>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter</artifactId>
+ <version>${rng.junit5.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.vintage</groupId>
+ <artifactId>junit-vintage-engine</artifactId>
+ <version>${rng.junit5.version}</version>
<scope>test</scope>
</dependency>
</dependencies>