[jbossws-issues] [JBoss JIRA] (JBWS-3722) jbossws-cxf-client is using 2.1 version of jaxb-impl

Rostislav Svoboda (JIRA) jira-events at lists.jboss.org
Fri Oct 18 08:43:02 EDT 2013


Rostislav Svoboda created JBWS-3722:
---------------------------------------

             Summary: jbossws-cxf-client is using 2.1 version of jaxb-impl
                 Key: JBWS-3722
                 URL: https://issues.jboss.org/browse/JBWS-3722
             Project: JBoss Web Services
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: jbossws-cxf
    Affects Versions: jbossws-cxf-4.2.1
            Reporter: Rostislav Svoboda


Invoking dependency:tree on POM looking like this:
{code}
<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>
{code}

jaxb-impl dependency should be 2.2.x
{code}
...
   +- 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
...
{code}
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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossws-issues mailing list