-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
Hi,
Java 9 added JPMS with java modules, module-info, module path etc etc. I saw a bit of work has been done to avoid split packages but the project still supports Java 8 and there is no module-info for the modules. I don't know if/when it's planned to add full JPMS support but it would be nice and easy to at least an automatic module name to the jars for the reasons described here.
It would also make our module-info clearer, something like requires org.verapdf.core; instead of requires core; as it is now.
You can configure the maven jar plugin to add it so, if there is no split packages, you only need to decide names for the modules. Here an example:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>org.verapdf.core</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>