Hi,
I tried to add JPMS module info to my project:
https://github.com/hantsy/jdbc-client-cdi/,

I ran into a situation where I had to decide how to add the module-info.

Adding module-info to main and test is straightforward, but I have an
issue: the test code has to use a different package name to identify the
module from the main. So if I want to test some package scope classes, it
is becoming a problem.

Another solution from Google is using moditech plugin to generate the
module-info on the fly. Currently, it seems this is better for me.

I am hearing your suggestions.

Thanks.
---

Regards,

*Hantsy Bai*

Self-employed consultant, fullstack developer, agile coach,
freelancer/remote worker

GitHub: https://github.com/hantsy

Twitter: https://twitter.com/@hantsy
Medium: https://medium.com/@hantsy

Reply via email to