Is there a fix for jaxb2-maven-plugin: schemagen to work with JDK8?

In JDK 7, the jaxb2-maven-plugin gives a warning about uninstalling apt, now it has JDK8, and I'm not sure how to get the plugin to work with JDK8.

warning: the apt tool and its associated API are planned to be removed in the next release of the JDK. These features have been superseded by javac and the standardized annotation processing API, javax.annotation.processing and javax.lang.model. Users are encouraged to switch to javac annotation processing features; see the javac man page for more information.

I created a ticket on the project page: MJAXB-83 .

+4
source share
1

JAXB2 JDK8 1.6, , pom.xml.

+5

Source: https://habr.com/ru/post/1523781/


All Articles