msgilligan commented on PR #21: URL: https://github.com/apache/commons-cli/pull/21#issuecomment-1569193238
> Recently I've been using the latest _maven-compiler-plugin_ and _maven-jar-plugin_ to support multi-release jars. My understanding is that it is "perfectly fine" to put a `module-info.class` directly into a Java 8 JAR (i.e. there is no need for an MR JAR as the `module-info` will just be ignored.) For example Jakarta EE is doing it this way (for at least some of their JARs.) You still need tools that support doing this, but it is still simpler than making an MR-JAR. I think this page has the info for how to do it with he maven-compiler-plugin: https://maven.apache.org/plugins/maven-compiler-plugin/examples/module-info.html -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
