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

jbossws-cxf-client maven fail to resolve some dependencies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jbossws-cxf-6.1.0.Final
    • jbossws-cxf-6.0.0.Final
    • None
    • None
    • Hide

      Use mvn install on attached pom.xml

      Show
      Use mvn install on attached pom.xml
    • Hide

      Exclude these 3 dependencies and specify them after

      <dependency>
          <groupId>org.jboss.ws.cxf</groupId>
          <artifactId>jbossws-cxf-client</artifactId>
          <version>6.0.0.Final</version>
          <scope>test</scope>
          <exclusions>
              <!-- start of workaround -->
              <exclusion>
                  <groupId>javax.xml.bind</groupId>
                  <artifactId>jaxb-api</artifactId>
              </exclusion>
              <exclusion>
                  <groupId>com.sun.istack</groupId>
                  <artifactId>istack-commons-runtime</artifactId>
              </exclusion>
              <exclusion>
                  <groupId>com.sun.xml.fastinfoset</groupId>
                  <artifactId>FastInfoset</artifactId>
              </exclusion>
          </exclusions>
      </dependency>
      <dependency>
          <groupId>com.sun.istack</groupId>
          <artifactId>istack-commons-runtime</artifactId>
          <version>4.0.1</version>
      </dependency>
      <dependency>
          <groupId>com.sun.xml.fastinfoset</groupId>
          <artifactId>FastInfoset</artifactId>
          <version>1.2.16</version>
      </dependency>
      <!-- end of workaround --> 
      Show
      Exclude these 3 dependencies and specify them after <dependency> <groupId>org.jboss.ws.cxf</groupId> <artifactId>jbossws-cxf-client</artifactId> <version>6.0.0.Final</version> <scope>test</scope> <exclusions> <!-- start of workaround --> <exclusion> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId> </exclusion> <exclusion> <groupId>com.sun.istack</groupId> <artifactId>istack-commons-runtime</artifactId> </exclusion> <exclusion> <groupId>com.sun.xml.fastinfoset</groupId> <artifactId>FastInfoset</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.sun.istack</groupId> <artifactId>istack-commons-runtime</artifactId> <version>4.0.1</version> </dependency> <dependency> <groupId>com.sun.xml.fastinfoset</groupId> <artifactId>FastInfoset</artifactId> <version>1.2.16</version> </dependency> <!-- end of workaround -->

      jbossws-cxf-client 6.0.0.Final won't resolve three specific dependencies. These dependencies are 

      • javax.xml.bind:jaxb-api:pom:2.3.0-b161121.1438
      • com.sun.istack:istack-commons-runtime:pom:3.0.6
      • com.sun.xml.fastinfoset:FastInfoset:pom:1.2.14

      All tree have similar error:

       

       Could not resolve dependencies for project org.example:untitled:jar:1.0-SNAPSHOT: Failed to collect dependencies at org.jboss.ws.cxf:jbossws-cxf-client:jar:6.0.0.Final -> org.apache.cxf:cxf-rt-ws-rm:jar:3.5.2-jbossorg-2 -> org.apache.cxf:cxf-rt-ws-security:jar:3.5.2-jbossorg-2 -> org.ehcache:ehcache:jar:jakarta:3.10.0 -> org.glassfish.jaxb:jaxb-runtime:jar:2.3.0-b170127.1453 -> org.glassfish.jaxb:jaxb-core:jar:2.3.0-b170127.1453 -> javax.xml.bind:jaxb-api:jar:2.3.0-b161121.1438: 

       

       

            rhn-engineering-ema Jim Ma
            jjedlick@redhat.com Jakub Jedlicka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: