質問

In JDK 7 jaxb2-maven-plugin produces a warning about apt being removed, it now has in JDK8 and I can 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 major JDK release. These features have been superseded by javac and the standardized annotation processing API, javax.annotation.processing and javax.lang.model. Users are recommended to migrate to the annotation processing features of javac; see the javac man page for more information.

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

役に立ちましたか?

解決

The JAXB2 schemagen works with JDK8 as of version 1.6, it's enough to update the plugin reference in the project's pom.xml.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top