Red Hat Bugzilla – Bug 1214565
Missing CXF in the Red Hat JBoss BRMS 6.1.0 Integration Pack Maven Repository
Last modified: 2015-12-10 03:28:44 EST
Description of problem: I found the CXF feature.xml and CXF bundles are missing in the maven repo. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: After downloading the Red Hat JBoss BRMS 6.1.0 Integration Pack Maven Repository (https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=37413&product=brms&version=&downloadType=distributions) and unzip it. Run the Fuse6.1, add the feature url through command: JBossFuse:karaf@root> features:addurl file:///home/wuxiaohui/Documents/projectDocument/JBoss/cases/01435019/jboss-brms-bpmsuite-6.1.0.GA-redhat-2-integration-pack-maven-repository/maven-repository/org/drools/drools-karaf-features/6.2.0.Final-redhat-4/drools-karaf-features-6.2.0.Final-redhat-4-features.xml then install the feature drools-decision-table-kie-spring-camel-example, I got the below exception: JBossFuse:karaf@root> features:install drools-decision-table-kie-spring-camel-example Error executing command: URL [mvn:org.apache.cxf.karaf/apache-cxf/2.7.14.redhat-1/xml/features] could not be resolved. After checking the repo, we can not find the feature xml: mvn:org.apache.cxf.karaf/apache-cxf/2.7.14.redhat-1/xml/features and all the bundles related with apache-cxf 2.7.14.redhat-1. These ones can not be found in the jboss public repo too. Actual results: An error reported when trying to install the feature. Expected results: The examples can be installed and run in the fuse container. Additional info:
mvn:org.drools/spring-camel-drools-decision-table-example/6.2.0.Final-redhat-4 is not in the below jboss public repo too. General availability repository: https://maven.repository.redhat.com/techpreview/all/ Early-access repository: https://maven.repository.redhat.com/earlyaccess/all/
Examples are not meant to be part of online nor offline repository, that's the reason why spring-camel-drools-decision-table-example is not included.
1. Actually if the examples are provided, then the customer can use it as a quickstart. So I strongly think it can be provided if it is not hard. 2. And there is no apache-cxf 2.7.14.redhat-1 in the repo too.
Petr, I have extended the tests and it seems that we are still missing org.hibernate:hibernate-osgi:jar:4.2.18.Final-redhat-2, could you please update the integration pack repo zip? I will re-run the test then and let you know, there might be more artifacts missing. Thanks!
Petr, please include mvn:org.apache.cxf/cxf-rt-rs-extension-providers/2.7.14.redhat-1 and its dependencies as well. Thanks!
Petr, I have found another one: mvn:org.apache.cxf/cxf-rt-rs-extension-search/2.7.14.redhat-1 To sum it up, please include the following artifacts and their dependencies: mvn:org.apache.cxf/cxf-rt-rs-extension-providers/2.7.14.redhat-1 mvn:org.apache.cxf/cxf-rt-rs-extension-search/2.7.14.redhat-1 Once updated, I will re-test it on Jenkins as well, but it seems there should be no other artifacts missing. Thanks!
Silly me, the correct summary is the following: mvn:org.hibernate/hibernate-osgi/4.2.18.Final-redhat-2 mvn:org.apache.cxf/cxf-rt-rs-extension-providers/2.7.14.redhat-1 mvn:org.apache.cxf/cxf-rt-rs-extension-search/2.7.14.redhat-1 Sorry for the inconvenience.
I've added the requested roots and rebuilt the repo. It is available now at the same location as before.
Petr, the core Drools and jBPM features install fine now, kie-camel feature is still missing a few more artifacts: mvn:org.apache.cxf/cxf-rt-management/2.7.14.redhat-1 mvn:org.apache.cxf/cxf-rt-rs-service-description/2.7.14.redhat-1 mvn:org.apache.cxf/cxf-rt-rs-client/2.7.14.redhat-1 mvn:org.apache.cxf/cxf-core/2.7.14.redhat-1 mvn:org.apache.cxf.karaf/cxf-karaf-commands/2.7.14.redhat-1 mvn:org.apache.cxf/cxf-rt-transports-http/2.7.14.redhat-1 I hope it is all but cannot be sure until I rerun the tests, determining the missing bundles is not straightforward because Fuse reports only the first one missing. Thanks!
there are two cxf versions used in drools-karaf-features.xml. 1. the CXF dependency from drools, like <feature version="[2.6,3.0)">cxf-specs</feature> in the drools-common. 2. The cxf-specs from feature: drools5-camel. Camel has dependency on CXF if using camel-cxf. the camel version here is 2.14 which has dependency on CXF 3.0.1[1]. <feature version="[2.6,3.0)">cxf-specs</feature> 3. and you tested using the community version camel2.14.0 which is not redhat supported version. [1]http://repo1.maven.org/maven2/org/apache/camel/karaf/apache-camel/2.14.0/apache-camel-2.14.0-features.xml So I think 1. The cxf version must be at least the same. 2. using the redhat supported version including camel and CXF and make them the same with the Fuse container. The tests need to be re-runed and make sure all passed. I have sent email to bpms-pm-list@redhat.com and fuse-pm-list@redhat.com to see whether we need to support BRMS6.1 in Fuse6.1.
The above CXF artifacts are distributed in Integration Pack (1.3.0.redhat-002) offline Maven repo zip, and Fuse 6.2.1.GA offline Maven repo zip, so I am setting this BZ to verified. Please be aware that other CXF artifacts are missing from the repository, this has been reported as [1]. [1] https://issues.jboss.org/browse/ENTESB-4490