Skip to content

Commit 287e1eb

Browse files
branch-3.1: [chore](test)Use JUnit BOM to Manage Versions Consistently apache#57931 (apache#57965)
Cherry-picked from apache#57931 Co-authored-by: Calvin Kirs <guoqiang@selectdb.com>
1 parent a1732ea commit 287e1eb

File tree

1 file changed

+12
-22
lines changed

1 file changed

+12
-22
lines changed

fe/pom.xml

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ under the License.
268268
<commons-io.version>2.18.0</commons-io.version>
269269
<commons-beanutils.version>1.11.0</commons-beanutils.version>
270270
<json-simple.version>1.1.1</json-simple.version>
271-
<junit.version>5.8.2</junit.version>
271+
<junit.version>5.14.1</junit.version>
272272
<hikaricp.version>6.0.0</hikaricp.version>
273273
<thrift.version>0.16.0</thrift.version>
274274
<tomcat-embed.version>9.0.104</tomcat-embed.version>
@@ -480,6 +480,13 @@ under the License.
480480
<artifactId>ini4j</artifactId>
481481
<version>${ini4j.version}</version>
482482
</dependency>
483+
<dependency>
484+
<groupId>org.junit</groupId>
485+
<artifactId>junit-bom</artifactId>
486+
<version>${junit.version}</version>
487+
<type>pom</type>
488+
<scope>import</scope>
489+
</dependency>
483490
<dependency>
484491
<groupId>org.eclipse.jetty</groupId>
485492
<artifactId>jetty-bom</artifactId>
@@ -903,27 +910,6 @@ under the License.
903910
<artifactId>json-simple</artifactId>
904911
<version>${json-simple.version}</version>
905912
</dependency>
906-
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine -->
907-
<dependency>
908-
<groupId>org.junit.jupiter</groupId>
909-
<artifactId>junit-jupiter-engine</artifactId>
910-
<version>${junit.version}</version>
911-
<scope>test</scope>
912-
</dependency>
913-
<!-- https://mvnrepository.com/artifact/org.junit.vintage/junit-vintage-engine -->
914-
<dependency>
915-
<groupId>org.junit.vintage</groupId>
916-
<artifactId>junit-vintage-engine</artifactId>
917-
<version>${junit.version}</version>
918-
<scope>test</scope>
919-
</dependency>
920-
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-params -->
921-
<dependency>
922-
<groupId>org.junit.jupiter</groupId>
923-
<artifactId>junit-jupiter-params</artifactId>
924-
<version>${junit.version}</version>
925-
<scope>test</scope>
926-
</dependency>
927913
<!-- https://mvnrepository.com/artifact/org.apache.thrift/libthrift -->
928914
<dependency>
929915
<groupId>org.apache.thrift</groupId>
@@ -1814,6 +1800,10 @@ under the License.
18141800
<groupId>org.junit.jupiter</groupId>
18151801
<artifactId>junit-jupiter-params</artifactId>
18161802
</dependency>
1803+
<dependency>
1804+
<groupId>org.junit.platform</groupId>
1805+
<artifactId>junit-platform-launcher</artifactId>
1806+
</dependency>
18171807
<dependency>
18181808
<groupId>org.jmockit</groupId>
18191809
<artifactId>jmockit</artifactId>

0 commit comments

Comments
 (0)