JDOM and JPMS' Automatic-Module-Name
Alejandro Revilla <[email protected]> Mon, 3 May 2021 14:02:30 -0300
| Newsgroups | gmane.comp.java.jdom.general |
|---|---|
| Message-ID | <CAAgSK==nv5bJ7fWM+SjS50ycSPsfeaBzj9OCiUh5qD7Wa+fN=A@mail.gmail.com> |
--===============0674100137==
Content-Type: multipart/alternative; boundary="0000000000003ddaa305c16fee22"
--0000000000003ddaa305c16fee22
Content-Type: text/plain; charset="UTF-8"
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>
--0000000000003ddaa305c16fee22
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:small"><fo=
nt face=3D"monospace">Hi all,<br><br>We are moving our project to JDK 16 in=
preparation for JDK 17 LTS and we are <br>facing a problem with jdom2 rela=
ted to Java Modules. The automatic resolution<br>based on the jar name gets=
confused with the number '2' in it.<br><br>The solution is simple,=
the single line 'Automatic-Module-Name: org.jdom2'<br>'core/pa=
ckage/META-INF/MANIFEST.MF' does the trick.<br><br>I found there's =
already a very clean PR185 (<a href=3D"https://github.com/hunterhacker/jdom=
/pull/185">https://github.com/hunterhacker/jdom/pull/185</a>)<br>that works=
like a sharm. Are there any chances of that PR being merged, and a new=C2=
=A0</font></div><div class=3D"gmail_default" style=3D"font-size:small"><fon=
t face=3D"monospace">release (2.0.7?) posted to Maven Central?<br><br>PS.- =
Thank you for JDOM and JDOM2, I'm a happy users since the very early da=
ys, got <br>=C2=A0 =C2=A0 =C2=A0Mr. Harold's book by my side since Augu=
st 1998, so go figure :)<br></font><br></div><div><div dir=3D"ltr" class=3D=
"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div>=
--</div><font style=3D"color:rgb(153,153,153)" size=3D"2"><a style=3D"font-=
family:garamond,serif" href=3D"http://twitter.com/apr" target=3D"_blank">@a=
pr</a></font><br></div></div></div></div>
--0000000000003ddaa305c16fee22--
--===============0674100137==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/[email protected]
--===============0674100137==--