diff --git a/extensions/flink/kyuubi-flink-token-provider/pom.xml b/extensions/flink/kyuubi-flink-token-provider/pom.xml
index f7c377ccedc..0314a4333e6 100644
--- a/extensions/flink/kyuubi-flink-token-provider/pom.xml
+++ b/extensions/flink/kyuubi-flink-token-provider/pom.xml
@@ -69,9 +69,12 @@
net.alchim31.maven
scala-maven-plugin
-
- true
-
+
+
+ attach-scaladocs
+ none
+
+
diff --git a/extensions/server/kyuubi-server-plugin/pom.xml b/extensions/server/kyuubi-server-plugin/pom.xml
index 22e433d7cd8..4095762bb7a 100644
--- a/extensions/server/kyuubi-server-plugin/pom.xml
+++ b/extensions/server/kyuubi-server-plugin/pom.xml
@@ -35,9 +35,12 @@
net.alchim31.maven
scala-maven-plugin
-
- true
-
+
+
+ attach-scaladocs
+ none
+
+