Samael Bate created FOP-3159:
--------------------------------
Summary: Add JPMS support
Key: FOP-3159
URL: https://issues.apache.org/jira/browse/FOP-3159
Project: FOP
Issue Type: Task
Reporter: Samael Bate
There are three potential options for supporting JPMS:
# Target a JDK above 8 and have module-info.java in each package
# Publish multi-release jars using latest maven-compiler-plugin with a
module-info.java in src/main/java9/module-info.java
# Add Automatic-Module-Name to manifest of published jars
I personally like option 2 and use that for jars I publish to maven central. I
can do a PR for each approach but ideally would like to see these other two
PR's merged in first:
* [https://github.com/apache/xmlgraphics-fop/pull/74]
* [https://github.com/apache/xmlgraphics-fop/pull/75]
Based on naming convention used by other Apache projects I suspect the module
names should be:
* org.apache.xmlgraphics.fop
* org.apache.xmlgraphics.fop-core
* org.apache.xmlgraphics.fop-events
* org.apache.xmlgraphics.fop-util
I'm happy to do PR's for any of the 3 options given if someone is willing to
review & merge
--
This message was sent by Atlassian Jira
(v8.20.10#820010)