[jdom-interest] JDOM and JPMS' Automatic-Module-Name

Alejandro Revilla apr at jpos.org
Mon May 3 10:02:30 PDT 2021


Hi all,

We are moving our project to JDK 16 in preparation for JDK 17 LTS and we
are
facing a problem with jdom2 related to Java Modules. The automatic
resolution
based on the jar name gets confused with the number '2' in it.

The solution is simple, the single line 'Automatic-Module-Name: org.jdom2'
'core/package/META-INF/MANIFEST.MF' does the trick.

I found there's already a very clean PR185 (
https://github.com/hunterhacker/jdom/pull/185)
that works like a sharm. Are there any chances of that PR being merged, and
a new
release (2.0.7?) posted to Maven Central?

PS.- Thank you for JDOM and JDOM2, I'm a happy users since the very early
days, got
     Mr. Harold's book by my side since August 1998, so go figure :)

--
@apr <http://twitter.com/apr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.jdom.org/pipermail/jdom-interest/attachments/20210503/104979d5/attachment.html>


More information about the jdom-interest mailing list