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

SwitchYard Resteasy javax.ws.rs version clash in jboss-fuse on Karaf

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Blocker
    • None
    • jboss-fuse-6.2.1, jboss-fuse-6.3
    • SwitchYard
    • None
    • % %
    • Hide

      Steps to reproduce (please note, STR in ENTESB-4241 are not valid anymore)

      1. Start jboss-fuse on Fuse server (user: admin=admin,admin)

      2. git clone -c http.sslverify=false https://gitlab.mw.lab.eng.bos.redhat.com/jbossqe-soa/jbossqe-fsw-it.git
      (branch master for testing 6.3 and branch 6.2.x for 6.2.1)

      3.cd jbossqe-fsw-it
      vim pom.xml
      update versions:
      <version.bom.fuse>
      <version.switchyard>
      <version.camel>
      to align with jboss-fuse on server

      4. run test
      cd jbossqe-fsw-it
      mvn clean install -Pjboss-fuse -pl switchyard/gateways/bindings/rest-binding-test -am -amd -fae

      5. check log.

      Show
      Steps to reproduce (please note, STR in ENTESB-4241 are not valid anymore) 1. Start jboss-fuse on Fuse server (user: admin=admin,admin) 2. git clone -c http.sslverify=false https://gitlab.mw.lab.eng.bos.redhat.com/jbossqe-soa/jbossqe-fsw-it.git (branch master for testing 6.3 and branch 6.2.x for 6.2.1) 3.cd jbossqe-fsw-it vim pom.xml update versions: <version.bom.fuse> <version.switchyard> <version.camel> to align with jboss-fuse on server 4. run test cd jbossqe-fsw-it mvn clean install -Pjboss-fuse -pl switchyard/gateways/bindings/rest-binding-test -am -amd -fae 5. check log.

    Description

      Error executing command: Could not start bundle wrap:mvn:org.jboss.resteasy/resteasy-jackson-provider/2.3.10.Final in feature(s) switchyard-internal-rest-2.0.1.redhat-621181: Uses constraint violation. Unable to resolve bundle revision wrap_mvn_org.jboss.resteasy_resteasy-jackson-provider_2.3.10.Final [452.0] because it is exposed to package 'javax.ws.rs' from bundle revisions org.apache.servicemix.specs.jsr311-api-1.1.1 [271.0] and org.apache.servicemix.specs.jsr339-api-2.0 [64.0] via two dependency chains.

      Chain 1:
      wrap_mvn_org.jboss.resteasy_resteasy-jackson-provider_2.3.10.Final [452.0]
      import: (osgi.wiring.package=javax.ws.rs)

      export: osgi.wiring.package=javax.ws.rs
      org.apache.servicemix.specs.jsr311-api-1.1.1 [271.0]

      Chain 2:
      wrap_mvn_org.jboss.resteasy_resteasy-jackson-provider_2.3.10.Final [452.0]
      import: (osgi.wiring.package=org.codehaus.jackson.jaxrs)

      export: osgi.wiring.package=org.codehaus.jackson.jaxrs; uses:=javax.ws.rs
      jackson-jaxrs [371.0]
      import: (osgi.wiring.package=javax.ws.rs)

      export: osgi.wiring.package=javax.ws.rs
      org.apache.servicemix.specs.jsr339-api-2.0 [64.0]

      I think this is extension of https://issues.jboss.org/browse/ENTESB-4241 (to 6.3 branch)
      I keep it as new issue, since steps to reproduce has changed.

      Attachments

        Activity

          People

            tcunning@redhat.com Thomas Cunningham
            sveres@redhat.com Stefan Veres
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: