feat: add Automatic-Module-Name manifest entries (#1947)
This commit is contained in:
committed by
GitHub
parent
1597f9309f
commit
1b9e55241d
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user