karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject [karaf] branch master updated: [KARAF-5991]fix build broken with JDK11
Date Fri, 02 Nov 2018 01:11:43 GMT
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 <freeman.fang@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>


Mime
View raw message