You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Minto van der Sluis (JIRA)" <ji...@apache.org> on 2013/07/08 14:31:48 UTC

[jira] [Created] (CXF-5113) leading spaces in karaf features.xml bundle elements lead to errors when using karaf 3.0.0

Minto van der Sluis created CXF-5113:
----------------------------------------

             Summary: leading spaces in karaf features.xml bundle elements lead to errors when using karaf 3.0.0
                 Key: CXF-5113
                 URL: https://issues.apache.org/jira/browse/CXF-5113
             Project: CXF
          Issue Type: Bug
          Components: OSGi
    Affects Versions: 2.7.5
            Reporter: Minto van der Sluis


When using CXF 2.7.5 with Karaf 3.0.0RC1 I get the following error:

[ERROR] Failed to execute goal
org.apache.karaf.tooling:karaf-maven-plugin:3.0.0.RC1:install-kars
(default-install-kars) on project reva-distribution: Execution
default-install-kars of goal
org.apache.karaf.tooling:karaf-maven-plugin:3.0.0.RC1:install-kars
failed: Bad artifact coordinates
mvn:org.apache.httpcomponents/httpcore-osgi/4.2.2, expected format is
<groupId>:<artifactId>[:<extension>[:<classifier>]]:<version> -> [Help 1]

It appeared the specified artifact was incorrectly specified (leading space) in the CXF features.xml. Correcting it manually in my local maven repo correctly this flaw.

Looking at CXF trunk (r1500679) I noticed the specified bundle no longer had a space. However other bundles still had. The accompanying patch corrects this flaw.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira