You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2018/09/04 14:15:50 UTC
[2/5] [lang] LANG-1416: Update to JUnit 5.3.0
LANG-1416: Update to JUnit 5.3.0
Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/83b472b7
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/83b472b7
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/83b472b7
Branch: refs/heads/master
Commit: 83b472b754df1d4f8392490296d2467be7ce8855
Parents: 3287f31
Author: Benedikt Ritter <br...@apache.org>
Authored: Tue Sep 4 11:30:17 2018 +0200
Committer: Benedikt Ritter <br...@apache.org>
Committed: Tue Sep 4 15:08:37 2018 +0200
----------------------------------------------------------------------
pom.xml | 31 ++++++++++++++++++++++++++++---
1 file changed, 28 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-lang/blob/83b472b7/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 39c5b94..bea54d7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -507,12 +507,35 @@
</contributor>
</contributors>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.junit</groupId>
+ <artifactId>junit-bom</artifactId>
+ <version>${junit.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<!-- Lang should depend on very little -->
<dependencies>
+ <!-- testing -->
+ <dependency>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <scope>test</scope>
+ </dependency>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.12</version>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-engine</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <!-- Vintage engine needed for exectuing JUnit 4.x tests. Remove once all tests have been migrated to JUnit 5. -->
+ <dependency>
+ <groupId>org.junit.vintage</groupId>
+ <artifactId>junit-vintage-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
@@ -595,6 +618,8 @@
<jmh.version>1.21</jmh.version>
<uberjar.name>benchmarks</uberjar.name>
+ <junit.version>5.3.0</junit.version>
+
<!-- generate report even if there are binary incompatible changes -->
<commons.japicmp.breakBuildOnBinaryIncompatibleModifications>false</commons.japicmp.breakBuildOnBinaryIncompatibleModifications>
<!-- 0.12.0 dies with a NullPointerException -->