You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2019/01/14 00:50:07 UTC

[cxf] branch master updated: using jakarta jaxb- more clean up

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/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new 5544a99  using jakarta jaxb- more clean up
5544a99 is described below

commit 5544a990e1272bf72fbbb7bb5104409d020328e3
Author: Freeman Fang <fr...@gmail.com>
AuthorDate: Mon Jan 14 08:49:51 2019 +0800

    using jakarta jaxb- more clean up
---
 core/pom.xml                                  |  6 ++++--
 distribution/src/main/release/samples/pom.xml |  2 +-
 osgi/karaf/features/pom.xml                   |  2 +-
 parent/pom.xml                                | 30 +++++++--------------------
 4 files changed, 13 insertions(+), 27 deletions(-)

diff --git a/core/pom.xml b/core/pom.xml
index 3bba74b..ca31932 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -107,7 +107,6 @@
         <dependency>
             <groupId>org.glassfish.jaxb</groupId>
             <artifactId>jaxb-runtime</artifactId>
-            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>log4j</groupId>
@@ -184,7 +183,6 @@
         <dependency>
             <groupId>org.glassfish.jaxb</groupId>
             <artifactId>jaxb-xjc</artifactId>
-            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>
@@ -221,6 +219,10 @@
             <optional>true</optional>
             <scope>provided</scope>
         </dependency>
+        <dependency>
+            <groupId>jakarta.xml.bind</groupId>
+            <artifactId>jakarta.xml.bind-api</artifactId>
+        </dependency>
     </dependencies>
     <build>
         <plugins>
diff --git a/distribution/src/main/release/samples/pom.xml b/distribution/src/main/release/samples/pom.xml
index 04eec01..7b5cef1 100644
--- a/distribution/src/main/release/samples/pom.xml
+++ b/distribution/src/main/release/samples/pom.xml
@@ -223,7 +223,7 @@
         <profile>
 	    <id>java9-plus</id>
 	    <properties>
-                <cxf.jaxb.version>2.3.0</cxf.jaxb.version>
+                <cxf.jaxb.version>2.3.2</cxf.jaxb.version>
 	    </properties>
 	    <activation>
         	<jdk>[9,)</jdk>
diff --git a/osgi/karaf/features/pom.xml b/osgi/karaf/features/pom.xml
index e853e5f..78d4ec7 100644
--- a/osgi/karaf/features/pom.xml
+++ b/osgi/karaf/features/pom.xml
@@ -160,7 +160,7 @@
                     <dependency>
                         <groupId>org.glassfish.jaxb</groupId>
                         <artifactId>jaxb-runtime</artifactId>
-                        <version>${cxf.jaxb.impl.version}</version>
+                        <version>${cxf.jaxb.runtime.version}</version>
                     </dependency>
                 </dependencies>
                 <executions>
diff --git a/parent/pom.xml b/parent/pom.xml
index df39c3c..b68e811 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -120,8 +120,7 @@
         <cxf.javassist.version>3.21.0-GA</cxf.javassist.version>
         <cxf.javax.ws.rs.version>2.1.4</cxf.javax.ws.rs.version>
         <cxf.jaxb.version>2.3.2</cxf.jaxb.version>
-        <cxf.jaxb.impl.version>${cxf.jaxb.version}</cxf.jaxb.impl.version>
-        <cxf.jaxb.core.version>${cxf.jaxb.version}</cxf.jaxb.core.version>
+        <cxf.jaxb.runtime.version>${cxf.jaxb.version}</cxf.jaxb.runtime.version>
         <cxf.jaxb.xjc.version>${cxf.jaxb.version}</cxf.jaxb.xjc.version>
         <cxf.joda.time.version>2.9.4</cxf.joda.time.version>
         <cxf.jdom.version>1.0</cxf.jdom.version>
@@ -1264,6 +1263,11 @@
                 <version>${cxf.javax.ws.rs.version}</version>
             </dependency>
             <dependency>
+                <groupId>jakarta.xml.bind</groupId>
+                <artifactId>jakarta.xml.bind-api</artifactId>
+                <version>${cxf.jaxb.version}</version>
+            </dependency>
+            <dependency>
                 <groupId>org.apache.aries.blueprint</groupId>
                 <artifactId>org.apache.aries.blueprint.api</artifactId>
                 <version>${cxf.aries.version}</version>
@@ -1721,11 +1725,6 @@
                 </exclusions>
             </dependency>
             <dependency>
-                <groupId>org.glassfish.jaxb</groupId>
-                <artifactId>jaxb-runtime</artifactId>
-                <version>${cxf.jaxb.impl.version}</version>
-            </dependency>
-            <dependency>
                 <groupId>org.springframework</groupId>
                 <artifactId>spring-jms</artifactId>
                 <version>${cxf.spring.version}</version>
@@ -2131,7 +2130,7 @@
             <dependency>
                 <groupId>org.glassfish.jaxb</groupId>
                 <artifactId>jaxb-runtime</artifactId>
-                <version>${cxf.jaxb.core.version}</version>
+                <version>${cxf.jaxb.runtime.version}</version>
             </dependency>
             <dependency>
                 <groupId>jaxme</groupId>
@@ -2809,11 +2808,6 @@
             </build>
             <dependencies>
                 <dependency>
-                    <groupId>jakarta.xml.bind</groupId>
-                    <artifactId>jakarta.xml.bind-api</artifactId>
-                    <version>2.3.2</version>
-                </dependency>
-                <dependency>
                     <groupId>javax.annotation</groupId>
                     <artifactId>javax.annotation-api</artifactId>
                     <version>1.3.1</version>
@@ -2861,16 +2855,6 @@
                     <artifactId>geronimo-jta_1.1_spec</artifactId>
                 </dependency>
                 <dependency>
-                    <groupId>org.glassfish.jaxb</groupId>
-                    <artifactId>jaxb-runtime</artifactId>
-                    <scope>test</scope>
-                </dependency>
-                <dependency>
-                    <groupId>org.glassfish.jaxb</groupId>
-                    <artifactId>jaxb-xjc</artifactId>
-                    <scope>test</scope>
-                </dependency>
-                <dependency>
                     <groupId>org.jboss.spec.javax.rmi</groupId>
                     <artifactId>jboss-rmi-api_1.0_spec</artifactId>
                     <version>1.0.6.Final</version>