diff options
author | gjoranv <gv@oath.com> | 2018-06-15 10:41:21 +0200 |
---|---|---|
committer | gjoranv <gv@oath.com> | 2018-06-25 13:24:46 +0200 |
commit | 06845507fdc0d25332a9f1b3f77d64fc76a10820 (patch) | |
tree | e64cfed7b3ae19b7052541aa010965ef6760b340 /container-dependency-versions | |
parent | 3b05ca01f4ec6c11bd13623858ad558dd82ff488 (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 482c1c395de..5330fca5a67 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> @@ -463,7 +464,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> <scala.version>2.11.12</scala.version> <!-- When updating this, the scala.major-version in parent must also be updated! --> <slf4j.version>1.7.5</slf4j.version> |