From 52e8bd886444ba57c76925102c389c4b676bb237 Mon Sep 17 00:00:00 2001 From: Rafael Winterhalter Date: Mon, 6 Jul 2026 00:40:26 +0200 Subject: [PATCH] feat: add Automatic-Module-Name manifest entries Give the published jars stable Java module names so they can be required from the module path instead of relying on filename-derived automatic names: - playwright: com.microsoft.playwright - driver: com.microsoft.playwright.driver - driver-bundle: com.microsoft.playwright.driver.bundle The playwright test-jar carries its own name (com.microsoft.playwright.test) so the main jar and the test-jar never claim the same module. --- driver-bundle/pom.xml | 4 ++++ driver/pom.xml | 4 ++++ playwright/pom.xml | 12 ++++++++++++ pom.xml | 3 +++ 4 files changed, 23 insertions(+) diff --git a/driver-bundle/pom.xml b/driver-bundle/pom.xml index 2aa0b02e2..1f65521ad 100644 --- a/driver-bundle/pom.xml +++ b/driver-bundle/pom.xml @@ -16,6 +16,10 @@ Node.js is preinstalled on the host (see PLAYWRIGHT_NODEJS_PATH). + + com.microsoft.playwright.driver.bundle + + + com.microsoft.playwright.test + + + diff --git a/pom.xml b/pom.xml index d012e6882..9d26acfa6 100644 --- a/pom.xml +++ b/pom.xml @@ -192,6 +192,9 @@ true + + ${automatic.module.name} +