zjsonpatch
zjsonpatch copied to clipboard
Automatic Module Name
Hi. Thanks for an excellent library. I'm currently looking at migration from Java 8 to Java 11 in projects at work and am having issues relating to the module path, especially with the lack of automatic module name for this project. I understand the value of remaining compatible with Java 6, so would suggest that you add an Automatic-Module-Name entry to your manifest-file to make life easier for people using the module path as well as "reserving" a name for future reference.
I'm not well versed in Maven, but I think something like the below would work:
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>com.flipkart.zjsonpatch</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
Cheers!
Thanks, @fredrik-yttergren for bringing out the issue. Please allow me a couple of days to try and test it out ( since I haven't used Java 11 and need a bit of background before doing the requests change :) OR feel free to raise a PR )
Sure, no worries, I'm just learning it myself right now by trial and error ;)
This issue seems to persist in 2020 - any update on how to deal with it?