Apache SIS 1.0 uses the JAXB implementation found in the com.sun.xml.internal.bind package, if presents, because this package is provided with Java 8. That JAXB implementation can optionally be replaced by the one in com.sun.xml.bind package (without internal), but we still want to use the internal implementation as a fallback.
Starting with Java 11, the internal JAXB implementation is no longer available. Consequently there is no point in continuing to support that package after Apache SIS upgraded its requirement to Java 11. The codes to delete will be:
- Maybe more, to be investigated.
Then, the provided scope of jakarta.xml.bind-api dependency in root pom.xml file should be removed. Since the default scope compile is transitive, jakarta.xml.bind-api dependencies declared downstream sis-metadata module can be removed.