Description
Currently the Commons CSV release JAR does not include an Automatic-Module-Name meaning it cannot be used in JPMS based projects, any attempt to do so results in errors like the following:
Error occurred during initialization of boot layer java.lang.module.FindException: Module org.apache.commons.csv not found, required by com.github.rvesse.airline.examples
Whereas other Commons modules e.g. Lang, do have Automatic-Module-Name present and can be used in a JPMS based project.
Digging into the pom.xml it looks like the difference between the two modules is that Lang adds JAR plugin configuration to add the Automatic-Module-Name whereas CSV does not. Copying the configuration across between the modules should be sufficient to resolve this issue.
Attachments
Issue Links
- links to