You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Matej Ferencak (JIRA)" <ji...@apache.org> on 2017/11/16 11:42:00 UTC

[jira] [Created] (CXF-7567) Unable to resolve pax-cdi-features when trying to build Karaf feature repo with apache-cxf feature

Matej Ferencak created CXF-7567:
-----------------------------------

             Summary: Unable to resolve pax-cdi-features when trying to build Karaf feature repo with apache-cxf feature
                 Key: CXF-7567
                 URL: https://issues.apache.org/jira/browse/CXF-7567
             Project: CXF
          Issue Type: Bug
          Components: OSGi
    Affects Versions: 3.2.1, 3.2.0
            Reporter: Matej Ferencak


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|https://issues.apache.org/jira/browse/CXF-7060?focusedCommentId=16240130&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16240130] in the issue.

2. Creating the Karaf feature repository which includes CXF - see [pom.xml|https://gist.github.com/matejf/55ee928a37a6affb90f040a9fad50bae] 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?




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)