Add module-info.java to all MP jars?

62 views
Skip to first unread message

Arjan Tijms

unread,
Jan 2, 2024, 9:21:50 AM1/2/24
to MicroProfile
Hi,

As of today, while preparing a JDK 21 release for the product I'm working on, I'm still getting this:

[INFO] --- compiler:3.12.1:compile (default-compile) @ microprofile-jwt-auth ---

[WARNING] ******************************************************************************************************************************************************************************************

[WARNING] * Required filename-based automodules detected: [microprofile-jwt-auth-api-2.1.jar, microprofile-config-api-3.1.jar]. Please don't publish this project to a public artifact repository! *

[WARNING] ******************************************************************************************************************************************************************************************


Now I know that MicroProfile is a relatively slower moving project, emphasising stability over fast uptake of new (java) versions (and this by itself is of course valuable), but it has been more than 5 years since JDK 9 was released.


Maybe it should be time to adopt module-info.java? Or in case that is still too new for MicroProfile, at least provide the automatic module ID?


Thoughts?


Kind regards,

Arjan Tijms


Emily Jiang

unread,
Jan 3, 2024, 9:42:16 AM1/3/24
to microp...@googlegroups.com
Thank you Arjan for the feedback! We will discuss this topic in the next MP technical meeting to see whether we add this support in the next upcoming MP 7.0 release. Please raise a github in the MP projects you are interested in this kind of support.
Thanks
Emily

--
You received this message because you are subscribed to the Google Groups "MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/0028e9dd-a08f-47a0-bbe9-a8f96f41ef76n%40googlegroups.com.


--
Thanks
Emily

Arjan Tijms

unread,
Jan 5, 2024, 6:22:14 AM1/5/24
to MicroProfile
On Wednesday, January 3, 2024 at 3:42:16 PM UTC+1 Emily Jiang wrote:
Thank you Arjan for the feedback! We will discuss this topic in the next MP technical meeting to see whether we add this support in the next upcoming MP 7.0 release.

Thank you too!
 
Please raise a github in the MP projects you are interested in this kind of support.

Would it not be better to do this at the platform level, so all MP projects have consistent support?

Kind regards,
Arjan Tijms 

Emily Jiang

unread,
Jan 5, 2024, 9:05:04 AM1/5/24
to microp...@googlegroups.com
Not every spec will need to be updated in MP 7.0.  If you raise an issue in some spec, it might trigger some interest to update that spec.

Kind regards,
Arjan Tijms 

--
You received this message because you are subscribed to the Google Groups "MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages