From faabf6f2e169ead28e01b0f881bbe27ed433b079 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Mon, 15 Jun 2026 12:24:31 -0700 Subject: [PATCH] fix(driver-bundle): exclude driver binaries from sources JAR The maven-source-plugin packages src/main/resources, so the driver binaries for all platforms were bundled into driver-bundle-sources.jar (214MB). Set excludeResources=true so the sources JAR contains only the Java sources (DriverJar.java). Fixes: https://github.com/microsoft/playwright-java/issues/1913 --- driver-bundle/pom.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/driver-bundle/pom.xml b/driver-bundle/pom.xml index 7e3eaf390..df02c5c16 100644 --- a/driver-bundle/pom.xml +++ b/driver-bundle/pom.xml @@ -28,4 +28,18 @@ junit-jupiter-engine + + + + + + org.apache.maven.plugins + maven-source-plugin + + true + + + +