[ https://issues.apache.org/jira/browse/CSV-292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruno P. Kinoshita updated CSV-292: ----------------------------------- Fix Version/s: (was: 1.10.0) > 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.8, 1.9.0 > Environment: JPMS application > Reporter: Rob Vesse > Assignee: Bruno P. Kinoshita > Priority: Major > Time Spent: 1h > Remaining Estimate: 0h > > 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.20.1#820001)