Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4921 problem with installing / uninstalling features in fuse 6.3
  3. ENTESB-4926

can't install features cxf-rs-description-swagger2 and camel-swagger-java

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.3
    • Fix Version/s: jboss-fuse-6.3
    • Component/s: Karaf
    • Labels:

      Description

      Can't install features

      • camel-swagger-java
      • cxf-rs-description-swagger2

      due to wiring chain issues with package com.google.common.base

      JBossFuse:karaf@root> features:install cxf-rs-description-swagger2
      Error executing command: Could not start bundle mvn:io.swagger/swagger-jaxrs/1.5.4 in feature(s) camel-swagger-java-2.16.1.redhat-630015, cxf-rs-description-swagger2-3.1.4: Uses constraint violation. Unable to resolve bundle revision io.swagger.jaxrs [294.0] because it is exposed to package 'com.google.common.base' from bundle revisions com.google.guava [301.0] and com.google.guava [159.0] via two dependency chains.
      
      Chain 1:
        io.swagger.jaxrs [294.0]
          import: (&(osgi.wiring.package=com.google.common.base)(version>=18.0.0)(!(version>=19.0.0)))
           |
          export: osgi.wiring.package=com.google.common.base
        com.google.guava [301.0]
      
      Chain 2:
        io.swagger.jaxrs [294.0]
          import: (osgi.wiring.package=org.reflections.util)
           |
          export: osgi.wiring.package=org.reflections.util; uses:=com.google.common.collect
        org.apache.servicemix.bundles.reflections [142.0]
          import: (osgi.wiring.package=com.google.common.collect)
           |
          export: osgi.wiring.package=com.google.common.collect; uses:=com.google.common.base
          export: osgi.wiring.package=com.google.common.base
        com.google.guava [159.0]
      
      JBossFuse:karaf@root> osgi:list -l -t 0 | grep '(294|159|301|142)'
      [ 142] [Active     ] [            ] [       ] [   80] mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.reflections/0.9.8_1
      [ 159] [Active     ] [            ] [       ] [   80] mvn:com.google.guava/guava/17.0
      

        Attachments

          Activity

            People

            Assignee:
            oscerd Andrea Cosentino
            Reporter:
            jludvice Josef Ludvicek (Inactive)
            Tester:
            Josef Ludvicek Josef Ludvicek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: