From 71f371b10aeedde4d27bee31b62a0098f1d8e02a Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Mon, 14 Sep 2026 11:00:57 -0700 Subject: [PATCH 1/2] fix(build): restore javadoc jar contents Since the Automatic-Module-Name manifest entries were added (#1947), maven-javadoc-plugin runs javadoc in module mode with a broken --patch-module path and the playwright javadoc jar ends up empty. Use legacy (classpath) mode. --- pom.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pom.xml b/pom.xml index 25aeef8a7..cb1235ac3 100644 --- a/pom.xml +++ b/pom.xml @@ -162,6 +162,9 @@ false 11 + + true From 60dc95d7eab6662f68ae4d10bcaca1cbeff6bc33 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Mon, 14 Sep 2026 11:12:12 -0700 Subject: [PATCH 2/2] fix(build): set javadoc sourcepath instead of legacy mode The empty javadoc jar comes from the plugin computing the --patch-module path as null when subpackages is set without an explicit sourcepath. Setting sourcepath keeps the classic javadoc layout without disabling module path support globally. --- playwright/pom.xml | 3 +++ pom.xml | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/playwright/pom.xml b/playwright/pom.xml index 05c3a6a5b..e97c92a24 100644 --- a/playwright/pom.xml +++ b/playwright/pom.xml @@ -29,6 +29,9 @@ org.apache.maven.plugins maven-javadoc-plugin + + ${project.build.sourceDirectory} com.microsoft.playwright com.microsoft.playwright.impl diff --git a/pom.xml b/pom.xml index cb1235ac3..25aeef8a7 100644 --- a/pom.xml +++ b/pom.xml @@ -162,9 +162,6 @@ false 11 - - true