Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

jaxb-api 2.3.0 declares java.activation transitive dependency in module-info, but not in pom.xml #1207

Open
lukaseder opened this issue Jul 9, 2018 · 2 comments
Assignees

Comments

@lukaseder
Copy link
Contributor

The jaxb-api 2.3.0 library has a dependency on the java.activation module, which has been removed from JDK 11. The dependency is declared in module-info.java but not in pom.xml:
http://search.maven.org/#artifactdetails%7Cjavax.xml.bind%7Cjaxb-api%7C2.3.0%7Cjar

It should be declared there as well, so clients of the jaxb-api don't have to discover this dependency at runtime due to NoClassDefFoundError

@lukaseder
Copy link
Contributor Author

Looks like this should be backported to 2.3.1:
25cf9d4

@bravehorsie
Copy link
Member

java.activation was part of JavaSE for 9 and 10. Dependency is added in jaxb-api master, which is now building with JavaSE 11ea.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants