diff --git a/modules/openapi-generator-mill-plugin/pom.xml b/modules/openapi-generator-mill-plugin/pom.xml
index d339710eaaa8..c98258ef569f 100644
--- a/modules/openapi-generator-mill-plugin/pom.xml
+++ b/modules/openapi-generator-mill-plugin/pom.xml
@@ -139,6 +139,28 @@
testCompile
+
+
+ attach-javadocs
+
+ doc-jar
+
+
+ dotty.tools.scaladoc.Main
+ ${project.build.outputDirectory}
+ -nobootcp
+
+ **/*.tasty
+
+
+
+ org.scala-lang
+ scaladoc_3
+ 3.7.4
+
+
+
+