Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1214565

Summary: Missing CXF in the Red Hat JBoss BRMS 6.1.0 Integration Pack Maven Repository
Product: [Retired] JBoss BRMS Platform 6 Reporter: xiaohui Wu <xiwu>
Component: Maven RepositoryAssignee: Petr Kočandrle <pkocandr>
Status: CLOSED EOL QA Contact: Marek Winkler <mwinkler>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: alazarot, lywang, rrajasek, rzhang
Target Milestone: ER5   
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1219076 (view as bug list) Environment:
Last Closed: 2020-03-27 20:09:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1219076    

Description xiaohui Wu 2015-04-23 05:50:30 UTC
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:

Comment 2 xiaohui Wu 2015-04-23 08:39:31 UTC
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/

Comment 3 Petr Kočandrle 2015-04-23 15:34:14 UTC
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.

Comment 4 xiaohui Wu 2015-04-24 09:09:07 UTC
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.

Comment 10 Marek Winkler 2015-04-27 08:25:01 UTC
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!

Comment 12 Marek Winkler 2015-04-27 11:47:42 UTC
Petr,

please include mvn:org.apache.cxf/cxf-rt-rs-extension-providers/2.7.14.redhat-1 and its dependencies as well.

Thanks!

Comment 13 Marek Winkler 2015-04-27 12:19:09 UTC
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!

Comment 14 Marek Winkler 2015-04-27 12:23:46 UTC
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.

Comment 15 Petr Kočandrle 2015-04-27 22:06:33 UTC
I've added the requested roots and rebuilt the repo. It is available now at the same location as before.

Comment 16 Marek Winkler 2015-04-28 13:51:25 UTC
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!

Comment 18 xiaohui Wu 2015-04-29 02:54:13 UTC
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 and fuse-pm-list to see whether we need to support BRMS6.1 in Fuse6.1.

Comment 28 Marek Winkler 2015-12-10 08:28:44 UTC
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