Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7567

Unable to resolve pax-cdi-features when trying to build Karaf feature repo with apache-cxf feature

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0, 3.2.1
    • Fix Version/s: 3.2.2
    • Component/s: OSGi
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Since version 3.2.0, there is a problem in OSGI Karaf feature apache-cxf.
      The issue is caused by changes introduced in CXF-7060.

      Two symptoms:

      1. Installing CXF in Karaf at runtime - see last comment in the issue.

      2. Creating the Karaf feature repository which includes CXF - see pom.xml and try to compile with maven.
      Reverting to CXF 3.1.4 works.
      Using CXF 3.2.0 results in an error:
      Failure to find org.ops4j.pax.cdi:pax-cdi-features:xml:features:[1.0.0.RC1,2)

      As already noted in CXF-7060 comment, the problem is line 21 of features.xml:
      <repository>mvn:org.ops4j.pax.cdi/pax-cdi-features/[1.0.0.RC1,2)/xml/features</repository>

      Not sure if <repository> tag supports version range like that?

        Attachments

          Activity

            People

            • Assignee:
              ffang Freeman Yue Fang
              Reporter:
              matejf Matej Ferencak
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: