diff options
author | gjoranv <gv@oath.com> | 2018-06-15 10:41:21 +0200 |
---|---|---|
committer | gjoranv <gv@oath.com> | 2018-06-27 00:16:01 +0200 |
commit | 30f7c56a8ee10a8702e9c1d2a69ed428bf064d47 (patch) | |
tree | 383c455413569e1cb3ea5a3964781ef12932ff0a /container-dependency-versions | |
parent | 455576f9cb3377beb1d88bbc60fe66d25e426a7a (diff) |
Java 9: Add dependencies and exports needed for jaxb support.
* Upgrade jaxb-api to 2.3.0 (packaged as osgi bundle)
=> our (and customer) bundles may now import this version
instead of the Java_SE one.
(Exposed via the container dependency.)
* Add TODO to remove org.w3c.dom.* packages from ExportPackages.
* Remove explicit org.w3c.dom from ExportPackages
(It was doubly present also with Java 8.)
Diffstat (limited to 'container-dependency-versions')
-rw-r--r-- | container-dependency-versions/pom.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/container-dependency-versions/pom.xml b/container-dependency-versions/pom.xml index 4d9c1e94ed9..195e66902db 100644 --- a/container-dependency-versions/pom.xml +++ b/container-dependency-versions/pom.xml @@ -186,7 +186,7 @@ <version>${javax.ws.rs-api.version}</version> </dependency> - <!-- TODO: upgrade jaxb-api artifacts to >=2.3.0. Note that from 2.3, these are OSGi bundles. + <!-- TODO: upgrade jaxb-api artifacts to >=2.3.0. See https://stackoverflow.com/questions/50237516/proper-fix-for-java-10-complaining-about-illegal-reflection-access-by-jaxb-impl --> <dependency> <groupId>javax.xml.bind</groupId> @@ -204,10 +204,11 @@ <version>${jaxb.version}</version> </dependency> <dependency> - <groupId>javax.activation</groupId> - <artifactId>javax.activation-api</artifactId> + <groupId>com.sun.activation</groupId> + <artifactId>javax.activation</artifactId> <version>1.2.0</version> </dependency> + <!-- jaxb end --> <dependency> <groupId>net.jcip</groupId> @@ -456,7 +457,7 @@ <findbugs.version>1.3.9</findbugs.version> <guava.version>18.0</guava.version> <guice.version>3.0</guice.version> - <jaxb.version>2.2.7</jaxb.version> + <jaxb.version>2.3.0</jaxb.version> <jetty.version>9.4.10.v20180503</jetty.version> <slf4j.version>1.7.5</slf4j.version> |