MenoData / Time4J

Advanced date, time and interval library for Java with sun/moon-astronomy and calendars like Chinese, Coptic, Ethiopian, French Republican, Hebrew, Hijri, Historic Christian, Indian National, Japanese, Julian, Korean, Minguo, Persian, Thai, Vietnamese
GNU Lesser General Public License v2.1
424 stars 62 forks source link

add module-info.class for Java9+ modular system #962

Closed GG-A closed 2 years ago

GG-A commented 2 years ago

Could you add module-info.class to Time4j for Java9+ modular system?

MenoData commented 2 years ago

Thanks for your feedback. I have already thought about it and done some experiments with build configuration. But I have not found any good way to achieve compatibility with both Java 8 and modular Java 9.

So I get the impression to abandon compatibility with Java 8 and just switch over to Java 9. However, I am not sure how other users would think about this option.

GG-A commented 2 years ago

Maybe you can try adding this build configuration to your pom.xml: maven-compiler-plugin: Older projects with module-info

MenoData commented 2 years ago

I have struggled a long time with this issue but finally I have to say: Sorry, will not implement it at least not in this or next year. Maybe later when Java 8 is much more out of common usage. Main reasons:

See also the small debate on issue #964