Skip to content

Commit

Permalink
Add automatic module name to MANIFEST.MF files
Browse files Browse the repository at this point in the history
  • Loading branch information
Openhelios authored and asolntsev committed Sep 3, 2024
1 parent f4e39fc commit c0c1f05
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions flying-saucer-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
<configuration>
<instructions>
<Bundle-SymbolicName>org.xhtmlrenderer.flying.saucer.core</Bundle-SymbolicName>
<Automatic-Module-Name>flying.saucer</Automatic-Module-Name>
<Bundle-Version>${project.version}</Bundle-Version>
<!-- Dependency resolution seems not to work properly with default
behavior of importing the exported packages. -->
Expand Down
1 change: 1 addition & 0 deletions flying-saucer-fop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
<configuration>
<instructions>
<Bundle-SymbolicName>org.xhtmlrenderer.flying.saucer.fop</Bundle-SymbolicName>
<Automatic-Module-Name>flying.saucer.fop</Automatic-Module-Name>
<Bundle-Version>${project.version}</Bundle-Version>
<!-- Dependency resolution seems not to work properly with default
behavior of importing the exported packages. -->
Expand Down
1 change: 1 addition & 0 deletions flying-saucer-pdf-osgi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<configuration>
<instructions>
<Bundle-SymbolicName>org.xhtmlrenderer.flying.saucer.pdf.osgi</Bundle-SymbolicName>
<Automatic-Module-Name>flying.saucer.pdf.osgi</Automatic-Module-Name>
<Bundle-Version>${project.version}</Bundle-Version>
<!-- This bundle re-bundles the original flying-saucer-pdf artifact
and only needs to import packages from flying-saucer-core. -->
Expand Down
12 changes: 12 additions & 0 deletions flying-saucer-pdf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,17 @@
</includes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>flying.saucer.pdf</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>
1 change: 1 addition & 0 deletions flying-saucer-swt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
<configuration>
<instructions>
<Bundle-SymbolicName>org.xhtmlrenderer.flying.saucer.swt</Bundle-SymbolicName>
<Automatic-Module-Name>flying.saucer.swt</Automatic-Module-Name>
<Bundle-Version>${project.version}</Bundle-Version>
<!-- Dependency resolution seems not to work properly with default
behavior of importing the exported packages. -->
Expand Down

0 comments on commit c0c1f05

Please sign in to comment.