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 2019/06/18 21:41:59 UTC

[commons-statistics] 01/04: STATISTICS-19: Add JUnit Bill-of-Materials (BOM)

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-statistics.git

commit fb0149b5679b1b77e757d0247957443cf760baeb
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Fri Jun 14 20:02:55 2019 +0100

    STATISTICS-19: Add JUnit Bill-of-Materials (BOM)
---
 pom.xml | 23 ++++++++++++++++++++---
 1 file changed, 20 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index baf9e41..8d1d574 100644
--- a/pom.xml
+++ b/pom.xml
@@ -93,6 +93,7 @@
     <statistics.checkstyle.version>3.0.0</statistics.checkstyle.version>
     <statistics.checkstyle.dep.version>8.20</statistics.checkstyle.dep.version>
     <statistics.clirr.version>2.8</statistics.clirr.version>
+    <statistics.junit.bom.version>5.4.2</statistics.junit.bom.version>
     <!-- Workaround to avoid duplicating config files. -->
     <statistics.parent.dir>${basedir}</statistics.parent.dir>
 
@@ -169,14 +170,30 @@
         <artifactId>commons-math3</artifactId>
         <version>${statistics.commons.math3.version}</version>
       </dependency>
+      <dependency>
+        <groupId>org.junit</groupId>
+        <artifactId>junit-bom</artifactId>
+        <version>${statistics.junit.bom.version}</version>
+        <scope>import</scope>
+        <type>pom</type>
+      </dependency>
     </dependencies>
   </dependencyManagement>
 
   <dependencies>
+     <dependency>
+      <groupId>org.junit.jupiter</groupId>
+      <artifactId>junit-jupiter-engine</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.junit.platform</groupId>
+      <artifactId>junit-platform-runner</artifactId>
+      <scope>test</scope>
+    </dependency>
     <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>4.12</version>
+      <groupId>org.junit.vintage</groupId>
+      <artifactId>junit-vintage-engine</artifactId>
       <scope>test</scope>
     </dependency>
   </dependencies>