Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-2884

Can't download `org.jvnet.staxex:stax-ex` on jdk11-cdb/fdb

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 7.60.0.Final
    • None
    • None
    • None

      When running `jdk11-cdb` or `jdk11-fdb` builds, there's a failure that consistently happen on `jbpm-wb` while trying to download this dependency.

      16:32:44  [ERROR] Failed to execute goal on project jbpm-wb-showcase: Could not resolve dependencies for project org.jbpm:jbpm-wb-showcase:war:7.59.0-SNAPSHOT: Failed to collect dependencies at org.apache.chemistry.opencmis:chemistry-opencmis-commons-impl:jar:0.11.0 -> com.sun.xml.ws:jaxws-rt:jar:2.1.7 -> com.sun.xml.stream.buffer:streambuffer:jar:0.9 -> org.jvnet.staxex:stax-ex:jar:RELEASE: Failed to read artifact descriptor for org.jvnet.staxex:stax-ex:jar:RELEASE: Failed to resolve version for org.jvnet.staxex:stax-ex:jar:RELEASE -> [Help 1]
      16:32:44  org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project jbpm-wb-showcase: Could not resolve dependencies for project org.jbpm:jbpm-wb-showcase:war:7.59.0-SNAPSHOT: Failed to collect dependencies at org.apache.chemistry.opencmis:chemistry-opencmis-commons-impl:jar:0.11.0 -> com.sun.xml.ws:jaxws-rt:jar:2.1.7 -> com.sun.xml.stream.buffer:streambuffer:jar:0.9 -> org.jvnet.staxex:stax-ex:jar:RELEASE
      

      There is obviously an error with Maven dependency resolution as the version org.jvnet.staxex:stax-ex:jar:RELEASE doesn't exist, but

      com.sun.xml.stream.buffer
      

      version 0.9 has that wrong version declared in its POM. https://search.maven.org/artifact/com.sun.xml.stream.buffer/streambuffer/0.9/jar

      Dependency information from mvn dependency:tree:

      `[INFO] +- org.jboss.spec.javax.servlet.jstl:jboss-jstl-api_1.2_spec:jar:1.1.3.Final:provided
      [INFO] |  +- org.jboss.spec.javax.el:jboss-el-api_3.0_spec:jar:1.0.12.Final:compile
      [INFO] |  \- org.jboss.spec.javax.servlet.jsp:jboss-jsp-api_2.3_spec:jar:1.0.3.Final:provided
      [INFO] +- org.apache.chemistry.opencmis:chemistry-opencmis-client-impl:jar:0.11.0:runtime
      [INFO] |  \- org.apache.chemistry.opencmis:chemistry-opencmis-client-api:jar:0.11.0:runtime
      [INFO] +- org.apache.chemistry.opencmis:chemistry-opencmis-commons-impl:jar:0.11.0:runtime
      [INFO] |  +- org.codehaus.woodstox:woodstox-core-asl:jar:4.4.1:runtime
      [INFO] |  |  \- org.codehaus.woodstox:stax2-api:jar:3.1.4:runtime
      [INFO] |  +- org.jvnet.mimepull:mimepull:jar:1.9.4:runtime
      [INFO] |  \- com.sun.xml.ws:jaxws-rt:jar:2.1.7:runtime
      [INFO] |     +- com.sun.xml.messaging.saaj:saaj-impl:jar:1.5.0:runtime
      [INFO] |     |  \- javax.xml.soap:javax.xml.soap-api:jar:1.4.0:runtime
      [INFO] |     +- com.sun.xml.stream.buffer:streambuffer:jar:0.9:runtime
      [INFO] |     +- org.jvnet.staxex:stax-ex:jar:1.2:runtime`
      

      The fix goes with https://search.maven.org/artifact/com.sun.xml.stream.buffer/streambuffer/1.4/jar so there are 2 options howto fix it.

      • Manage the correct version of stax-ex dependency or
      • upgrade jaxws-rt which uses fixed streambuffer

              emingora Enrique Mingorance Cano
              tfernand-1 Tiago Bento
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: