diff --git a/paimon-spark/paimon-spark-3.2/pom.xml b/paimon-spark/paimon-spark-3.2/pom.xml
index 60f4840bbe91..cfa251abf7d0 100644
--- a/paimon-spark/paimon-spark-3.2/pom.xml
+++ b/paimon-spark/paimon-spark-3.2/pom.xml
@@ -75,6 +75,13 @@ under the License.
test
+
+ org.apache.paimon
+ paimon-format
+ ${project.version}
+ test
+
+
org.apache.spark
spark-sql_${scala.binary.version}
@@ -105,6 +112,7 @@ under the License.
${spark.version}
test
+
diff --git a/paimon-spark/paimon-spark-3.3/pom.xml b/paimon-spark/paimon-spark-3.3/pom.xml
index ce4b8b95ffef..3f00b6b7e928 100644
--- a/paimon-spark/paimon-spark-3.3/pom.xml
+++ b/paimon-spark/paimon-spark-3.3/pom.xml
@@ -75,6 +75,13 @@ under the License.
test
+
+ org.apache.paimon
+ paimon-format
+ ${project.version}
+ test
+
+
org.apache.spark
spark-sql_${scala.binary.version}
diff --git a/paimon-spark/paimon-spark-3.4/pom.xml b/paimon-spark/paimon-spark-3.4/pom.xml
index f0a89bb6facd..42f32f70e39a 100644
--- a/paimon-spark/paimon-spark-3.4/pom.xml
+++ b/paimon-spark/paimon-spark-3.4/pom.xml
@@ -75,6 +75,13 @@ under the License.
test
+
+ org.apache.paimon
+ paimon-format
+ ${project.version}
+ test
+
+
org.apache.spark
spark-sql_${scala.binary.version}