Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
JAXB project has been moved into the Eclipse Jakarta project, and the maven coordinates have been changed. The migration has been followed already by several project (Eg. spring-boot), which is causing duplicate classes coming from different dependency jars.
Changes:
Added the Jakarta XML Binding API (jakarta.xml.bind:jakarta.xml.bind-api:2.3.3) and runtime (org.glassfish.jaxb:jaxb-runtime:2.3.3) to the Java 9+ profiled builds
Removed the Old JAXB API and runtimes
Removed from the pom.xml the javax.activation:activation:1.1.1 dependency, because the JAXB API defines this dependency as jakarta.activation:jakarta.activation-api:1.2.2. Due to this Java Activation Framework has become a new transitive dependency of XMLUnit, but it is compile dependency of the JAXB API, so it would be needed anyway somewhere to make XMLUnit work, at least the dependency is now explicit. I guess this did not caused any problem so far because the JAXB runtime transitively included it.
The JAXB runtime is now a runtime scoped dependency (it is still optional, because others might use another implementation).
The "jakarta.xml.bind.version" maven property has been introduced to enforce consistency of the API and runtime dependencies.