Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions driver-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions driver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
12 changes: 12 additions & 0 deletions playwright/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Automatic-Module-Name>${automatic.module.name}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
Expand Down
Loading