Port the code to Java 11
The port to Java 11 may be difficult. The project is very old and uses old dependencies. A number of APIs where deprecated in J11. In particular the JAXB API (see JEP 320). Also, the JAXB generator (org.jvnet.jaxb2.maven2:maven-jaxb2-plugin
) used by the project does not support Java 9+ and should be replaced. Java 11 is supported by Spring framework 5.1.0 (current version is 3.2 with a lot of breaking changes introduced in Spring 4 and 5). The version of Jetty used to start development server is obsoleted.
-
replace JAXB generator ( org.jvnet.jaxb2.maven2:maven-jaxb2-plugin
replaced byorg.codehaus.mojo:jaxb2-maven-plugin
) -
add dependencies for support of removed JAXB APIS from JAva 11 -
migrate Spring framework to Spring 5