We're updating the issue view to help you get more done. 

Add test dependencies to javax.xml.bind when building with JDK9 and above

Description

Or depend on a version of ORM that declares these dependencies, whatever is easier.

For JDK 9 and 10, this will allow us to get rid of the --add-modules java.xml.bind option. For JDK11, we absolutely need this dependency because the module is no longer included in the standard JRE.

The dependencies are only needed because of ORM, we don't use javax.xml.bind ourselves.

See here for the dependencies to use: https://markmail.org/search/?q=javax.xml.bind%20Hibernate#query:javax.xml.bind%20Hibernate+page:1+mid:c6xuuf2fwmqidau7+state:results
And maybe also here: https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/hibernate-core.gradle#L29

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Priority

Major