| 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 |