Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-9266

org.jboss.redhat-fuse/cxf-wadl2java-plugin does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • fuse-7.2
    • fuse-7.1
    • CXF
    • None
    • % %

      I got following error when I use (see https://github.com/jboss-fuse/redhat-fuse/commit/1b5b1053ffaca5b949b2163a7751ac9af5496a05#diff-04c6e90faac2675aa89e2176d2eec7d8)

      <plugin>
      	<groupId>org.jboss.redhat-fuse</groupId>
      	<artifactId>cxf-wadl2java-plugin</artifactId>
      	<version>7.1.0.fuse-710012</version>
      </plugin>
      
      [ERROR] Failed to execute goal org.jboss.redhat-fuse:cxf-wadl2java-plugin:7.1.0.fuse-710012:wadl2java (generate-sources) on project jax-rs-maven-tools-test: Execution generate-sources of goal org.jboss.redhat-fuse:cxf-wadl2java-plugin:7.1.0.fuse-710012:wadl2java failed: A required class was missing while executing org.jboss.redhat-fuse:cxf-wadl2java-plugin:7.1.0.fuse-710012:wadl2java: Lorg/sonatype/plexus/build/incremental/BuildContext;
      [ERROR] -----------------------------------------------------
      [ERROR] realm =    plugin>org.jboss.redhat-fuse:cxf-wadl2java-plugin:7.1.0.fuse-710012
      [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
      [ERROR] urls[0] = file:/home/jbouska/.m2/repository/org/jboss/redhat-fuse/cxf-wadl2java-plugin/7.1.0.fuse-710012/cxf-wadl2java-plugin-7.1.0.fuse-710012.jar
      [ERROR] urls[1] = file:/home/jbouska/.m2/repository/org/apache/cxf/cxf-wadl2java-plugin/3.1.11.fuse-710018/cxf-wadl2java-plugin-3.1.11.fuse-710018.jar
      [ERROR] urls[2] = file:/home/jbouska/.m2/repository/org/apache/maven/shared/maven-artifact-resolver/1.0/maven-artifact-resolver-1.0.jar
      [ERROR] urls[3] = file:/home/jbouska/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
      [ERROR] urls[4] = file:/home/jbouska/.m2/repository/org/codehaus/plexus/plexus-archiver/1.2/plexus-archiver-1.2.jar
      [ERROR] urls[5] = file:/home/jbouska/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
      [ERROR] urls[6] = file:/home/jbouska/.m2/repository/org/codehaus/plexus/plexus-io/1.0.1/plexus-io-1.0.1.jar
      [ERROR] urls[7] = file:/home/jbouska/.m2/repository/org/apache/cxf/cxf-tools-common/3.1.11.fuse-710018/cxf-tools-common-3.1.11.fuse-710018.jar
      [ERROR] urls[8] = file:/home/jbouska/.m2/repository/org/apache/velocity/velocity/1.7/velocity-1.7.jar
      [ERROR] urls[9] = file:/home/jbouska/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
      [ERROR] urls[10] = file:/home/jbouska/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar
      [ERROR] urls[11] = file:/home/jbouska/.m2/repository/wsdl4j/wsdl4j/1.6.3/wsdl4j-1.6.3.jar
      [ERROR] urls[12] = file:/home/jbouska/.m2/repository/com/sun/xml/bind/jaxb-xjc/2.2.11/jaxb-xjc-2.2.11.jar
      [ERROR] urls[13] = file:/home/jbouska/.m2/repository/com/sun/xml/bind/jaxb-core/2.2.11/jaxb-core-2.2.11.jar
      [ERROR] urls[14] = file:/home/jbouska/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.11/jaxb-impl-2.2.11.jar
      [ERROR] urls[15] = file:/home/jbouska/.m2/repository/org/apache/cxf/cxf-core/3.1.11.fuse-710018/cxf-core-3.1.11.fuse-710018.jar
      [ERROR] urls[16] = file:/home/jbouska/.m2/repository/org/codehaus/woodstox/woodstox-core-asl/4.4.1/woodstox-core-asl-4.4.1.jar
      [ERROR] urls[17] = file:/home/jbouska/.m2/repository/org/codehaus/woodstox/stax2-api/3.1.4/stax2-api-3.1.4.jar
      [ERROR] urls[18] = file:/home/jbouska/.m2/repository/org/apache/ws/xmlschema/xmlschema-core/2.2.1/xmlschema-core-2.2.1.jar
      [ERROR] urls[19] = file:/home/jbouska/.m2/repository/org/apache/cxf/cxf-tools-wadlto-jaxrs/3.1.11.fuse-710018/cxf-tools-wadlto-jaxrs-3.1.11.fuse-710018.jar
      [ERROR] urls[20] = file:/home/jbouska/.m2/repository/org/apache/cxf/cxf-rt-frontend-jaxrs/3.1.11.fuse-710018/cxf-rt-frontend-jaxrs-3.1.11.fuse-710018.jar
      [ERROR] urls[21] = file:/home/jbouska/.m2/repository/javax/ws/rs/javax.ws.rs-api/2.0.1/javax.ws.rs-api-2.0.1.jar
      [ERROR] urls[22] = file:/home/jbouska/.m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar
      [ERROR] urls[23] = file:/home/jbouska/.m2/repository/org/apache/cxf/cxf-rt-transports-http/3.1.11.fuse-710018/cxf-rt-transports-http-3.1.11.fuse-710018.jar
      [ERROR] urls[24] = file:/home/jbouska/.m2/repository/org/apache/cxf/cxf-rt-rs-service-description/3.1.11.fuse-710018/cxf-rt-rs-service-description-3.1.11.fuse-710018.jar
      [ERROR] urls[25] = file:/home/jbouska/.m2/repository/xml-resolver/xml-resolver/1.2/xml-resolver-1.2.jar
      [ERROR] urls[26] = file:/home/jbouska/.m2/repository/org/apache/ant/ant/1.10.1/ant-1.10.1.jar
      [ERROR] urls[27] = file:/home/jbouska/.m2/repository/org/apache/ant/ant-launcher/1.10.1/ant-launcher-1.10.1.jar
      [ERROR] urls[28] = file:/home/jbouska/.m2/repository/org/apache/ant/ant-nodeps/1.8.1/ant-nodeps-1.8.1.jar
      [ERROR] Number of foreign imports: 1
      [ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
      [ERROR] 
      

      When I use

      <plugin>
      	<groupId>org.apache.cxf</groupId>
      	<artifactId>cxf-wadl2java-plugin</artifactId>
      	<version>3.1.11.fuse-710018</version>
      </plugin>
      the build is successful
      

              hchirino Hiram Chirino
              jbouska@redhat.com Jan Bouska
              Jan Bouska Jan Bouska
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: