From 5881a3df60336517bb78882c9b1c7a79de3f7a10 Mon Sep 17 00:00:00 2001 From: Marc Schlegel Date: Mon, 19 Jan 2026 16:45:58 +0100 Subject: [PATCH 1/2] Add doc goal for scala-maven-plugin --- modules/openapi-generator-mill-plugin/pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/openapi-generator-mill-plugin/pom.xml b/modules/openapi-generator-mill-plugin/pom.xml index d339710eaaa8..cb6875eae066 100644 --- a/modules/openapi-generator-mill-plugin/pom.xml +++ b/modules/openapi-generator-mill-plugin/pom.xml @@ -137,6 +137,7 @@ compile testCompile + doc-jar From 3eb82c14e17150d99f55770e50ae87d2658999f1 Mon Sep 17 00:00:00 2001 From: Marc Schlegel Date: Mon, 19 Jan 2026 18:00:15 +0100 Subject: [PATCH 2/2] Add workaround for scaladoc generation in Scala 3 --- modules/openapi-generator-mill-plugin/pom.xml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/modules/openapi-generator-mill-plugin/pom.xml b/modules/openapi-generator-mill-plugin/pom.xml index cb6875eae066..c98258ef569f 100644 --- a/modules/openapi-generator-mill-plugin/pom.xml +++ b/modules/openapi-generator-mill-plugin/pom.xml @@ -137,8 +137,29 @@ compile testCompile + + + + + attach-javadocs + doc-jar + + dotty.tools.scaladoc.Main + ${project.build.outputDirectory} + -nobootcp + + **/*.tasty + + + + org.scala-lang + scaladoc_3 + 3.7.4 + + +