Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4719

camel-cxf and cxf artifacts version are not managed in integration-pack

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • jboss-fuse-6.3
    • jboss-fuse-6.2.1
    • Integration Pack
    • None
    • 6.3 Sprint 4 (Mar 28 - Apr 29)

    Description

      There are multiple versions of camel-cxf and cxf artifacts present in the dependencies tree of integration-pack. Attached the dependency tree.

      How to reproduce this:
      Just run mvn dependency:tree on 1.3.0.redhat-002 tag.
      The expect result are camel-cxf version and cxf related artifacts should be xxx-621084 which is consistent to Fuse 6.2.1.

      The dependencyManagment for kie-camel (See [3]) isn't ideal too since it should be mantained in the top pom file , ie fuse-integration-project instead of separate dependencyManagment.
      It will cause inconsistent and duplication definition. So I believe this also need to fix.

      This result in the issue reported in https://issues.jboss.org/browse/ENTESB-4490 .
      The worse case is that user would endup with 3 versions of camel-cxf and cxf artifacts after we update the jb-ip-bom to product version 6.0.0.CR30-redhat-2.
      [rzhang@/workspace/0make-mead/workspace/build.Fuse-Integration/build]$grep "cxf-rt-rs-security" b.log
      [INFO] | +- org.apache.cxf:cxf-rt-rs-security-oauth:jar:3.0.4.redhat-621084:compile
      [INFO] | | +- org.apache.cxf:cxf-rt-rs-security-oauth:jar:2.7.17.redhat-1:compile
      [INFO] | | +- org.apache.cxf:cxf-rt-rs-security-oauth:jar:2.7.14:compile

      I think the expect result is camel-cxf and cxf versions in integration-pack should be consistent with fuse-parent-bom[1] or fabric8-bom [2]. I noticed that fabric8-bom is the parent of fuse-parent-bom so camel-cxf and cxf dependencies used in fuse are defined in [2].

      Should we import fabric8-bom into the fuse-integration-project pom.xml [4] for this ?

      [1]:https://repository.jboss.org/nexus/content/repositories/ea/org/jboss/fuse/bom/jboss-fuse-parent/6.2.1.redhat-084/jboss-fuse-parent-6.2.1.redhat-084.pom
      [2]:https://repository.jboss.org/nexus/content/repositories/ea/org/jboss/fuse/bom/jboss-fuse-parent/6.2.1.redhat-084/jboss-fuse-parent-6.2.1.redhat-084.pom
      [3]: https://github.com/jboss-integration/fuse-bxms-integ/blob/master/camel/pom.xml#L122
      [4]: https://github.com/jboss-integration/fuse-bxms-integ

      Attachments

        Activity

          People

            psiroky_jira Petr Široký (Inactive)
            rzhang+1@redhat.com Cheng Zhang (Inactive)
            Martin Basovnik Martin Basovnik (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: