diff --git a/.github/workflows/bk-ci.yml b/.github/workflows/bk-ci.yml index 0106da05b33..6c40881bd54 100644 --- a/.github/workflows/bk-ci.yml +++ b/.github/workflows/bk-ci.yml @@ -242,7 +242,9 @@ jobs: run: mvn -B -nsu clean install -Pdocker -DskipTests - name: Run metadata driver tests - run: mvn -B -nsu -f metadata-drivers/pom.xml test -DintegrationTests + # Exclude jetcd-core-shaded from integration tests, as it’s a POM-only project used internally, + # and maven prioritizes workspace artifacts during testing. + run: mvn -B -nsu -f metadata-drivers/pom.xml -pl '!jetcd-core-shaded' test -DintegrationTests - name: Run all integration tests (except backward compatibility tests) run: | diff --git a/metadata-drivers/etcd/pom.xml b/metadata-drivers/etcd/pom.xml index 3dfbdcde1ed..bb03d5b853f 100644 --- a/metadata-drivers/etcd/pom.xml +++ b/metadata-drivers/etcd/pom.xml @@ -37,7 +37,6 @@ org.apache.bookkeeper.metadata.drivers jetcd-core-shaded ${project.version} - shaded io.etcd diff --git a/metadata-drivers/jetcd-core-shaded/pom.xml b/metadata-drivers/jetcd-core-shaded/pom.xml index 2b8e855aa22..cd995f66cfd 100644 --- a/metadata-drivers/jetcd-core-shaded/pom.xml +++ b/metadata-drivers/jetcd-core-shaded/pom.xml @@ -132,54 +132,6 @@ ${project.basedir}/dependency-reduced-pom.xml - - true - shaded - - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - attach-shaded-jar - package - - attach-artifact - - - - - ${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar - jar - shaded - - - - - - - - - org.apache.maven.plugins - maven-antrun-plugin - ${maven-antrun-plugin.version} - - - unpack-shaded-jar - package - - run - - - - -