joelittlejohn / jsonschema2pojo

Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc
http://www.jsonschema2pojo.org
Apache License 2.0
6.24k stars 1.66k forks source link

Upgrade dependencies #1598

Open juherr opened 7 months ago

juherr commented 7 months ago

@joelittlejohn What do you think if the support of Java8 will be dropped?

joelittlejohn commented 7 months ago

I'm open to that, but is there a specific benefit to moving to this version? Does 3.x support java 8?

juherr commented 7 months ago

Good idea, I will start to check if it is possible. But notice that lot of dependencies dropped java8 support and it will be difficult to be up to date.

juherr commented 7 months ago

I worked with 3.x. To be honest, I expected more changes that could use some new java features but it looks like it is not a very active project. The changelog is available at https://github.com/eclipse-ee4j/jaxb-ri/releases

For the record, it looks https://github.com/phax/jcodemodel is a bit more active but the latest release is old too and the merge with upstream is compromised (see https://github.com/phax/jcodemodel/issues/73 and https://github.com/eclipse-ee4j/jaxb-ri/issues/1353)

joelittlejohn commented 7 months ago

I do wonder if there is something similar to codemodel that has kept up with all the language additions that Java has had recently. I guess probably not as XML has become less popular and so has jaxb.