diff --git a/flink-connector-elasticsearch-base/pom.xml b/flink-connector-elasticsearch-base/pom.xml
index f859b1b4..8a930bfb 100644
--- a/flink-connector-elasticsearch-base/pom.xml
+++ b/flink-connector-elasticsearch-base/pom.xml
@@ -47,6 +47,7 @@ under the License.
org.apache.flink
flink-connector-base
${flink.version}
+ provided
org.apache.flink
diff --git a/flink-connector-elasticsearch-e2e-tests/flink-connector-elasticsearch-e2e-tests-common/pom.xml b/flink-connector-elasticsearch-e2e-tests/flink-connector-elasticsearch-e2e-tests-common/pom.xml
index 4f47574d..2716b9a1 100644
--- a/flink-connector-elasticsearch-e2e-tests/flink-connector-elasticsearch-e2e-tests-common/pom.xml
+++ b/flink-connector-elasticsearch-e2e-tests/flink-connector-elasticsearch-e2e-tests-common/pom.xml
@@ -58,6 +58,13 @@ under the License.
${flink.version}
test-jar
+
+ org.apache.flink
+ flink-connector-base
+ ${flink.version}
+ test
+ test-jar
+
org.apache.flink
flink-connector-elasticsearch-base
@@ -83,6 +90,12 @@ under the License.
flink-table-api-java-bridge
${flink.version}
+
+ org.apache.flink
+ flink-connector-base
+ ${flink.version}
+ test
+