summaryrefslogtreecommitdiffstats
path: root/jdisc_core/pom.xml
diff options
context:
space:
mode:
authorgjoranv <gv@oath.com>2018-06-15 10:41:21 +0200
committergjoranv <gv@oath.com>2018-06-25 13:24:46 +0200
commit06845507fdc0d25332a9f1b3f77d64fc76a10820 (patch)
treee64cfed7b3ae19b7052541aa010965ef6760b340 /jdisc_core/pom.xml
parent3b05ca01f4ec6c11bd13623858ad558dd82ff488 (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.xml13
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>