You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampark.apache.org by be...@apache.org on 2022/10/20 01:57:30 UTC
[incubator-streampark] branch dev updated: [Bug] When the unit test is executed, it reports that the org.junit.jupiter.api.io.CleanupMode class cannot be found #1869 (#1870)
This is an automated email from the ASF dual-hosted git repository.
benjobs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git
The following commit(s) were added to refs/heads/dev by this push:
new 418df901d [Bug] When the unit test is executed, it reports that the org.junit.jupiter.api.io.CleanupMode class cannot be found #1869 (#1870)
418df901d is described below
commit 418df901dbdc55786ac2aea33481584e7bc9c0ae
Author: macksonmu <30...@qq.com>
AuthorDate: Thu Oct 20 09:57:25 2022 +0800
[Bug] When the unit test is executed, it reports that the org.junit.jupiter.api.io.CleanupMode class cannot be found #1869 (#1870)
* [Bug] When the unit test is executed, it reports that the org.junit.jupiter.api.io.CleanupMode class cannot be found
Co-authored-by: mucj7 <mu...@chinaunicom.cn>
---
pom.xml | 8 ++++++++
streampark-console/streampark-console-service/pom.xml | 14 +++++++++++++-
2 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index c2ddc1981..eca63cfda 100644
--- a/pom.xml
+++ b/pom.xml
@@ -565,6 +565,14 @@
<version>${jupiter.version}</version>
<scope>test</scope>
</dependency>
+
+ <dependency>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <version>${jupiter.version}</version>
+ <scope>test</scope>
+ </dependency>
+
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
diff --git a/streampark-console/streampark-console-service/pom.xml b/streampark-console/streampark-console-service/pom.xml
index c40b4f826..42ba95a2e 100644
--- a/streampark-console/streampark-console-service/pom.xml
+++ b/streampark-console/streampark-console-service/pom.xml
@@ -105,6 +105,12 @@
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <scope>test</scope>
+ </dependency>
+
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
@@ -152,7 +158,13 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
- <scope>provided</scope>
+ <scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>