diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml
index f41b6f65285e..0f8ac7d60540 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 778bb3410500..165953fdd922 100644
--- a/dolphinscheduler-common/pom.xml
+++ b/dolphinscheduler-common/pom.xml
@@ -77,6 +77,11 @@
jackson-databind
+
+ com.fasterxml.jackson.core
+ jackson-core
+
+
com.fasterxml.jackson.datatype
jackson-datatype-jsr310