Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3722

jbossws-cxf-client is using 2.1 version of jaxb-impl

    XMLWordPrintable

Details

    Description

      Invoking dependency:tree on POM looking like this:

      <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <name>JBoss Web Services - Client test</name>
      
        <groupId>org.jboss.ws.cxf</groupId>
        <artifactId>jbossws-cxf-client-test</artifactId>
        <version>1.0.0.Final</version>
        <properties>
            <jbossws-cxf-client-version>4.2.1.Final</jbossws-cxf-client-version>
        </properties>
      
        <dependencies>
          <dependency>
            <groupId>org.jboss.ws.cxf</groupId>
            <artifactId>jbossws-cxf-client</artifactId>
            <version>${jbossws-cxf-client-version}</version>
          </dependency>
        </dependencies>
      </project>
      

      jaxb-impl dependency should be 2.2.x

      ...
         +- org.apache.cxf:cxf-rt-transports-jms:jar:2.7.6:compile
         |  +- org.apache.cxf:cxf-rt-management:jar:2.7.6:compile
         |  +- com.sun.xml.bind:jaxb-impl:jar:2.1.13:compile
         |  \- com.sun.xml.bind:jaxb-xjc:jar:2.1.13:compile
      ...
      

      Info from IRC:
      <asoldano> rsvoboda, I think the situation here is complicated by multiple dependency management block existing (both in cxf parent and jbossws-cxf parent) and missing explicit dependency to jaxb-impl in jbossws-cxf-client pom. I need to check the actual order of dependencyManagement processing in Maven impl, perhaps it's processed in a different order then we expect

      Attachments

        Activity

          People

            rhn-support-asoldano Alessio Soldano
            rsvoboda@redhat.com Rostislav Svoboda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: