Closed sormuras closed 2 years ago
It looks like it started working automagically when I migrated to a newer maven-compiler-plugin and got rid of multi-release-jar-maven-plugin. At least, now I see the version in decompiler:
\streamex\target\classes\META-INF\versions\9>javap module-info.class
Compiled from "module-info.java"
module one.util.streamex@0.8.1-SNAPSHOT {
requires java.base;
exports one.util.streamex;
}
Nevertheless thanks for the help!
That's even better - you're welcome!
Although a local test via
mvn verify
failed with......this should do the trick. If not, either @metlos might help here with pointing to the right location to configure the extended maven-compiler-plugin ... or adding an additional invocation of Java's
jar --update --file ... --module-version
is the way.