Hi,
I'd like Commons Math to add module-info.java to all the components. I
noticed that you are adding a "Automatic-Module" entry in META-INF but
this isn't enough for jlink (and related tools) to work properly. We
absolutely need to add module-info.java.
You just need to add a few lines to pom.xml to turn your releases into
multirelease JAR files and you're done. Here is the code I lifted from
https://medium.com/@ankitagrahari.rkgit/multi-release-functionality-8fc423b6c94e:
|<execution> <id>java11</id> <goals><goal>compile</goal></goals>
<configuration> <release>11</release>
<compileSourceRoots>${project.basedir}/src/main/java11</compileSourceRoots>
<multiReleaseOutput>true</multiReleaseOutput> </configuration> </execution> |
||
|Gili|
- [math] Add module-info.java Gili Tzabari
-