diff --git a/flink-cdc-dist/pom.xml b/flink-cdc-dist/pom.xml
index c23b992ae..c7e4424ad 100644
--- a/flink-cdc-dist/pom.xml
+++ b/flink-cdc-dist/pom.xml
@@ -106,6 +106,13 @@ under the License.
+
+ org.apache.maven.plugins
+ maven-deploy-plugin
+
+ true
+
+
diff --git a/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/pom.xml b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/pom.xml
index b2dec7cb0..ea669fe76 100644
--- a/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/pom.xml
+++ b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/pom.xml
@@ -162,14 +162,6 @@ under the License.
-
- org.apache.maven.plugins
- maven-deploy-plugin
-
- true
-
-
-
org.apache.maven.plugins
maven-surefire-plugin
diff --git a/flink-cdc-e2e-tests/pom.xml b/flink-cdc-e2e-tests/pom.xml
index 86e0de937..7cd365a9c 100644
--- a/flink-cdc-e2e-tests/pom.xml
+++ b/flink-cdc-e2e-tests/pom.xml
@@ -32,4 +32,15 @@ under the License.
flink-cdc-pipeline-e2e-tests
+
+
+
+ org.apache.maven.plugins
+ maven-deploy-plugin
+
+ true
+
+
+
+
\ No newline at end of file