HADOOP-14775. Change junit dependency in parent pom file to junit 5 while maintaining backward compatibility to junit4. Contributed by Akira Ajisaka.
This commit is contained in:
parent
0ca50648c2
commit
1c0aae63a7
|
@ -129,7 +129,7 @@
|
|||
|
||||
<!-- Plugin versions and config -->
|
||||
<maven-surefire-plugin.argLine>-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError</maven-surefire-plugin.argLine>
|
||||
<maven-surefire-plugin.version>2.21.0</maven-surefire-plugin.version>
|
||||
<maven-surefire-plugin.version>2.22.1</maven-surefire-plugin.version>
|
||||
<maven-surefire-report-plugin.version>${maven-surefire-plugin.version}</maven-surefire-report-plugin.version>
|
||||
<maven-failsafe-plugin.version>${maven-surefire-plugin.version}</maven-failsafe-plugin.version>
|
||||
|
||||
|
@ -158,6 +158,10 @@
|
|||
<snakeyaml.version>1.16</snakeyaml.version>
|
||||
<hbase.one.version>1.2.6</hbase.one.version>
|
||||
<hbase.two.version>2.0.0-beta-1</hbase.two.version>
|
||||
<junit.version>4.12</junit.version>
|
||||
<junit.jupiter.version>5.3.1</junit.jupiter.version>
|
||||
<junit.vintage.version>5.3.1</junit.vintage.version>
|
||||
<junit.platform.version>1.3.1</junit.platform.version>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
|
@ -1068,10 +1072,36 @@
|
|||
<artifactId>ftpserver-deprecated</artifactId>
|
||||
<version>1.0.0-M2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-api</artifactId>
|
||||
<version>${junit.jupiter.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.11</version>
|
||||
<version>${junit.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-engine</artifactId>
|
||||
<version>${junit.jupiter.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.vintage</groupId>
|
||||
<artifactId>junit-vintage-engine</artifactId>
|
||||
<version>${junit.vintage.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<!-- Only required to run tests in an IDE that bundles an older version -->
|
||||
<dependency>
|
||||
<groupId>org.junit.platform</groupId>
|
||||
<artifactId>junit-platform-launcher</artifactId>
|
||||
<version>${junit.platform.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.stefanbirkner</groupId>
|
||||
|
|
Loading…
Reference in New Issue