Add Moditect, source module info, to allow Kotlin module usage with Java Module system #385
Labels
good first issue
Issue that seems easy to resolve and is likely a good candidate for contributors new to project
hacktoberfest
Issue related to Hactoberfest2020 activities, eligible for additional rewards
Milestone
Since Jackson does not require Java 9 (or higher baseline), module system can not be used to create
module-info.class
.But most Jackson components/modules are using Moditect (https://github.com/moditect/moditect) -- support added in 2.11 -- to produce necessary metadata even when building using Java 8 tools.
It would be good to add necessary build support to Kotlin module too.
This issue:
FasterXML/jackson-databind#2273
can show what is needed; basic addition would be:
src/moditect/module-info.java
with dependency definitions (see Joda module's file, f.ex: https://github.com/FasterXML/jackson-datatype-joda/blob/2.12/src/moditect/module-info.java )pom.xml
(see https://github.com/FasterXML/jackson-datatype-joda/blob/2.12/pom.xml#L106 )with appropriate modifications -- mostly, need to know Kotlin core module's JPMS coordinates.
The text was updated successfully, but these errors were encountered: