summaryrefslogtreecommitdiffstats
path: root/container-dependency-versions
diff options
context:
space:
mode:
authorgjoranv <gv@oath.com>2018-05-09 17:57:18 +0200
committergjoranv <gv@oath.com>2018-05-14 14:05:55 +0200
commit96d1b376e000774ee4918751464add10efef14aa (patch)
tree9d44f03f552969e4ebe084fbea195c550eb367db /container-dependency-versions
parent3ff927eebb513b55311c7f758f6d8b45e01afa69 (diff)
Java 9: Add dependency management for jaxb api artifacts.
- These apis are no longer available out of the box from the SDK.
Diffstat (limited to 'container-dependency-versions')
-rw-r--r--container-dependency-versions/pom.xml23
1 files changed, 21 insertions, 2 deletions
diff --git a/container-dependency-versions/pom.xml b/container-dependency-versions/pom.xml
index 213f7398a04..1f94372fc14 100644
--- a/container-dependency-versions/pom.xml
+++ b/container-dependency-versions/pom.xml
@@ -185,12 +185,30 @@
<artifactId>javax.ws.rs-api</artifactId>
<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.
+ See https://stackoverflow.com/questions/50237516/proper-fix-for-java-10-complaining-about-illegal-reflection-access-by-jaxb-impl -->
<dependency>
- <!-- TODO: Remove (also from child modules) when container-core:JAXBContextFactory is removed. -->
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
- <version>2.2.7</version>
+ <version>${jaxb.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-core</artifactId>
+ <version>${jaxb.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ <version>${jaxb.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.activation</groupId>
+ <artifactId>javax.activation-api</artifactId>
+ <version>1.2.0</version>
</dependency>
+
<dependency>
<groupId>net.jcip</groupId>
<artifactId>jcip-annotations</artifactId>
@@ -445,6 +463,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>
<jetty.version>9.4.9.v20180320</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>