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
      

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: