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 /jdisc_core/pom.xml | |
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 'jdisc_core/pom.xml')
-rw-r--r-- | jdisc_core/pom.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/jdisc_core/pom.xml b/jdisc_core/pom.xml index 246265203cb..6b22aa4a985 100644 --- a/jdisc_core/pom.xml +++ b/jdisc_core/pom.xml @@ -16,6 +16,17 @@ <packaging>jar</packaging> <name>${project.artifactId}</name> <dependencies> + <!-- Necessary for jaxb support from java 9. (Could be deployed as bundles since 2.2.11.) --> + <dependency> + <groupId>javax.xml.bind</groupId> + <artifactId>jaxb-api</artifactId> + </dependency> + <dependency> + <groupId>com.sun.activation</groupId> + <artifactId>javax.activation</artifactId> + </dependency> + <!-- jaxb end --> + <dependency> <!-- Newer version than the one in rt.jar, including the ElementTraversal class needed by Xerces (Aug 2015, still valid Sep 2017) --> <groupId>xml-apis</groupId> @@ -228,6 +239,8 @@ <argument>${project.build.directory}/dependency/log4j-over-slf4j.jar</argument> <argument>${project.build.directory}/dependency/config-lib.jar</argument> <argument>${project.build.directory}/dependency/yolean.jar</argument> + <argument>${project.build.directory}/dependency/jaxb-api.jar</argument> + <argument>${project.build.directory}/dependency/javax.activation.jar</argument> </arguments> </configuration> </execution> |