1
0
mirror of synced 2026-08-04 14:36:55 +00:00

feat: add Automatic-Module-Name manifest entries (#1947)

This commit is contained in:
Rafael Winterhalter
2026-08-03 20:23:23 +02:00
committed by GitHub
parent 1597f9309f
commit 1b9e55241d
4 changed files with 23 additions and 0 deletions
+4
View File
@@ -16,6 +16,10 @@
Node.js is preinstalled on the host (see PLAYWRIGHT_NODEJS_PATH).
</description>
<properties>
<automatic.module.name>com.microsoft.playwright.driver.bundle</automatic.module.name>
</properties>
<build>
<plugins>
<!-- The Node.js binaries for all platforms live in src/main/resources and must not
+4
View File
@@ -16,6 +16,10 @@
package; the Node.js binary comes from the driver-bundle module or a preinstalled Node.js.
</description>
<properties>
<automatic.module.name>com.microsoft.playwright.driver</automatic.module.name>
</properties>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
+12
View File
@@ -19,6 +19,10 @@
This is the main package that provides Playwright client.
</description>
<properties>
<automatic.module.name>com.microsoft.playwright</automatic.module.name>
</properties>
<build>
<plugins>
<plugin>
@@ -37,6 +41,14 @@
<goals>
<goal>test-jar</goal>
</goals>
<configuration>
<archive>
<manifestEntries>
<!-- A name of its own, so the main jar and the test-jar never claim the same module. -->
<Automatic-Module-Name>com.microsoft.playwright.test</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</execution>
</executions>
</plugin>
+3
View File
@@ -192,6 +192,9 @@
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Automatic-Module-Name>${automatic.module.name}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>