Skip to content

Commit ee06724

Browse files
authored
feat: add an Automatic-Module-Name entry to the jar manifest
This adds an Automatic-Module-Name manifest entry in order to allow epubcheck to be used in a modular context without having to depend on an unstable generated module name. The module name is `org.w3c.epubcheck`, which is already used as the bundle symbolic name in OSGi. Fixes #1128
1 parent 928c26a commit ee06724

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@
301301
net.sf.saxon.*;version="[9.8.0,9.8.1)",
302302
*
303303
</Import-Package>
304+
<Automatic-Module-Name>org.w3c.epubcheck</Automatic-Module-Name>
304305
<_removeheaders>Include-Resource,Private-Package, Bnd-LastModified, Build-Jdk, Built-By</_removeheaders>
305306
</instructions>
306307
</configuration>

0 commit comments

Comments
 (0)