You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then. This is only the drawback. Adding a small comment in readme.md (perhaps a separate section for Java 9+ developers) would be also helpful. Can you please consider it for 0.9.1 release? I'll also add the Java 9+ module name to my library as well.
@pitschr, done, see 66f181e. I have released v0.9.1 to Maven Central.
I have also spent some time to create a multi-release JAR bundle (incl. module-info.java), but could not succeed with my nonexisting skill set on Java 9 modules. I will give this one more try when I learn more about this stuff. For now, this quick-and-dirty hack should do the trick.
When building JAR I noticed warning:
To fix it, you need to update the pom.xml
Add to
<properties />
Add to
<build/>
As it is updating the manifest in JAR file only with
Automatic-Module-Name: com.vlkan.rfos
I expect there should be no problem with Java 8 too.The drawbacks is that currently the Java 9 modules which are consuming your library have currently:
With the entry in manifest the name of plugin will be stabilized for Java 9+ modules and they have to update their
module-info.java
to:then. This is only the drawback. Adding a small comment in readme.md (perhaps a separate section for Java 9+ developers) would be also helpful. Can you please consider it for 0.9.1 release? I'll also add the Java 9+ module name to my library as well.
For further reference you may check out:
https://dzone.com/articles/automatic-module-name-calling-all-java-library-maintainers
The text was updated successfully, but these errors were encountered: