You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by ff...@apache.org on 2018/11/02 01:11:43 UTC
[karaf] branch master updated: [KARAF-5991]fix build broken with
JDK11
This is an automated email from the ASF dual-hosted git repository.
ffang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/karaf.git
The following commit(s) were added to refs/heads/master by this push:
new 8013de7 [KARAF-5991]fix build broken with JDK11
8013de7 is described below
commit 8013de7f4a3eedec072e34beb4e2e1ada6b4f416
Author: Freeman Fang <fr...@gmail.com>
AuthorDate: Fri Nov 2 09:11:29 2018 +0800
[KARAF-5991]fix build broken with JDK11
---
specs/java.xml.ws/pom.xml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/specs/java.xml.ws/pom.xml b/specs/java.xml.ws/pom.xml
index 100b246..69c8226 100644
--- a/specs/java.xml.ws/pom.xml
+++ b/specs/java.xml.ws/pom.xml
@@ -63,4 +63,20 @@
<artifactId>org.apache.karaf.specs.locator</artifactId>
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>java9-plus</id>
+ <dependencies>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>${jaxb.version}</version>
+ </dependency>
+ </dependencies>
+ <activation>
+ <jdk>[9,)</jdk>
+ </activation>
+ </profile>
+ </profiles>
+
</project>