Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1214565 - Missing CXF in the Red Hat JBoss BRMS 6.1.0 Integration Pack Maven Repository
Missing CXF in the Red Hat JBoss BRMS 6.1.0 Integration Pack Maven Repository
Status: VERIFIED
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Maven Repository (Show other bugs)
6.1.0
Unspecified Unspecified
unspecified Severity high
: ER5
: 6.2.0
Assigned To: Petr Kočandrle
Marek Winkler
:
Depends On:
Blocks: 1219076
  Show dependency treegraph
 
Reported: 2015-04-23 01:50 EDT by xiaohui Wu
Modified: 2015-12-10 03:28 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1219076 (view as bug list)
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description xiaohui Wu 2015-04-23 01:50:30 EDT
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 04:39:31 EDT
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 11:34:14 EDT
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 05:09:07 EDT
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 04:25:01 EDT
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 07:47:42 EDT
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 08:19:09 EDT
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 08:23:46 EDT
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 18:06:33 EDT
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 09:51:25 EDT
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-28 22:54:13 EDT
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.
Comment 28 Marek Winkler 2015-12-10 03:28:44 EST
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

Note You need to log in before you can comment on or make changes to this bug.