This is an automated email from the ASF dual-hosted git repository.

ruanwenjun pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new fe368053c2 [Chore] Hotfix ut ci (#18221)
fe368053c2 is described below

commit fe368053c2358d5afaa46c5974a6eabf4bebcd30
Author: xiangzihao <[email protected]>
AuthorDate: Thu May 7 19:51:37 2026 +0800

    [Chore] Hotfix ut ci (#18221)
---
 .github/workflows/unit-test.yml | 9 +++++----
 dolphinscheduler-common/pom.xml | 5 +++++
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml
index f41b6f6528..0f8ac7d605 100644
--- a/.github/workflows/unit-test.yml
+++ b/.github/workflows/unit-test.yml
@@ -129,15 +129,16 @@ jobs:
           restore-keys: ${{ runner.os }}-maven-
 
       # Install the target module and its upstream dependencies into the local
-      # Maven repository without running tests. The following unit-test step
-      # resolves these artifacts from the same runner's ~/.m2/repository.
+      # Maven repository without running tests. Use skipTests instead of
+      # maven.test.skip so packaging still sees provided-scope dependencies and
+      # attaches any test/provided artifacts required by downstream modules.
       - name: Install Dependencies (${{ matrix.module }})
         run: |
           export MAVEN_OPTS="-Xmx14g -XX:MetaspaceSize=256m 
-XX:MaxMetaspaceSize=1024m"
           ./mvnw install -B \
-            -pl "${{ matrix.module }}" \
+            -pl "dolphinscheduler-bom,${{ matrix.module }}" \
             -am \
-            -Dmaven.test.skip=true \
+            -DskipTests=true \
             -Dspotless.skip=true \
             -DskipUT=true \
             -Djacoco.skip=true \
diff --git a/dolphinscheduler-common/pom.xml b/dolphinscheduler-common/pom.xml
index 778bb34105..165953fdd9 100644
--- a/dolphinscheduler-common/pom.xml
+++ b/dolphinscheduler-common/pom.xml
@@ -77,6 +77,11 @@
             <artifactId>jackson-databind</artifactId>
         </dependency>
 
+        <dependency>
+            <groupId>com.fasterxml.jackson.core</groupId>
+            <artifactId>jackson-core</artifactId>
+        </dependency>
+
         <dependency>
             <groupId>com.fasterxml.jackson.datatype</groupId>
             <artifactId>jackson-datatype-jsr310</artifactId>

Reply via email to