Rob Vesse created CSV-292: ----------------------------- Summary: No Automatic-Module-Name prevents usage in JPMS projects without repacking the JAR Key: CSV-292 URL: https://issues.apache.org/jira/browse/CSV-292 Project: Commons CSV Issue Type: Bug Components: Build Affects Versions: 1.9.0, 1.8 Environment: JPMS application Reporter: Rob Vesse
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: {noformat} 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 {noformat} 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. -- This message was sent by Atlassian Jira (v8.3.4#803005)