Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3289

Wrong Spring version in features-core.xml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.10.0.GA
    • 7.9.0.GA
    • Fuse Integration
    • None
    • Fuse 7.8

    • 5
    • False
    • False
    • CR1
    • Undefined
    • Hide
      • Run Fuse 7.8 (./bin/fuse)
      • feature:repo-add mvn:org.jboss.fuse.features/rhba-features/7.8.0.fuse-780026-redhat-00001/xml/features
      • features:addurl mvn:org.kie/kie-karaf-features/7.44.0.Final-redhat-00003/xml/features-fuse
      • features:install kie-spring
      • It will fail with following exception: Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=kie-spring; type=karaf.feature; version="[7.44.0.Final-redhat-00003,7.44.0.Final-redhat-00003]"; filter:="(&(osgi.identity=kie-spring)(type=karaf.feature)(version>=7.44.0.Final-redhat-00003)(version<=7.44.0.Final-redhat-00003))" [caused by: Unable to resolve kie-spring/7.44.0.Final-redhat-00003: missing requirement [kie-spring/7.44.0.Final-redhat-00003] osgi.identity; osgi.identity=drools-jpa; type=karaf.feature; version="[7.44.0.Final-redhat-00003,7.44.0.Final-redhat-00003]" [caused by: Unable to resolve drools-jpa/7.44.0.Final-redhat-00003: missing requirement [drools-jpa/7.44.0.Final-redhat-00003] osgi.identity; osgi.identity=spring-orm; type=karaf.feature; version="[4.0.0,5.0.0)"]]
      Show
      Run Fuse 7.8 (./bin/fuse) feature:repo-add mvn:org.jboss.fuse.features/rhba-features/7.8.0.fuse-780026-redhat-00001/xml/features features:addurl mvn:org.kie/kie-karaf-features/7.44.0.Final-redhat-00003/xml/features-fuse features:install kie-spring It will fail with following exception: Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=kie-spring; type=karaf.feature; version=" [7.44.0.Final-redhat-00003,7.44.0.Final-redhat-00003] "; filter:="(&(osgi.identity=kie-spring)(type=karaf.feature)(version>=7.44.0.Final-redhat-00003)(version<=7.44.0.Final-redhat-00003))" [caused by: Unable to resolve kie-spring/7.44.0.Final-redhat-00003: missing requirement [kie-spring/7.44.0.Final-redhat-00003] osgi.identity; osgi.identity=drools-jpa; type=karaf.feature; version=" [7.44.0.Final-redhat-00003,7.44.0.Final-redhat-00003] " [caused by: Unable to resolve drools-jpa/7.44.0.Final-redhat-00003: missing requirement [drools-jpa/7.44.0.Final-redhat-00003] osgi.identity; osgi.identity=spring-orm; type=karaf.feature; version=" [4.0.0,5.0.0)"] ]
    • ---
    • ---
    • 2020 Week 46-48 (from Nov 9), 2020 Week 49-51 (from Nov 30), 2020 Week 52-03 (from Dec 21), 2021 Week 04-06 (from Jan 25)

      Fuse 7.8 increased Spring version from 4 to 5. And therefore it is necessary to update our features file to correct version. See https://github.com/kiegroup/droolsjbpm-integration/blob/master/kie-osgi/kie-karaf-features/src/main/filtered-resources/repository/features-core.xml#L65

       

      It seems that if we want to support both Fuse 7.7 and 7.8 we need to split features file to two versions.

              rhn-support-tkobayas Toshiya Kobayashi
              jpetrlik@redhat.com Jiri Petrlik
              Jiri Petrlik Jiri Petrlik
              Jiri Petrlik Jiri Petrlik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: