You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2015/07/24 09:40:04 UTC

[jira] [Commented] (KARAF-3874) Apparently valid feature.xml results in silent kar install failure

    [ https://issues.apache.org/jira/browse/KARAF-3874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640083#comment-14640083 ] 

Jean-Baptiste Onofré commented on KARAF-3874:
---------------------------------------------

Can you try to remove the resolver attribute on the feature ? As Karaf 4 embeds its own feature resolver, the resolver attribute doesn't make sense. I will ignore this attribute in the FeaturesService and update the documentation.

> Apparently valid feature.xml results in silent kar install failure
> ------------------------------------------------------------------
>
>                 Key: KARAF-3874
>                 URL: https://issues.apache.org/jira/browse/KARAF-3874
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: Benson Margulies
>            Assignee: Jean-Baptiste Onofré
>         Attachments: feature.xml, oops.txt
>
>
> Using the karaf-maven-plugin 4.0.0 with kar packaging, I created a kar.
> The kar contains a feature.xml that aggregates the CXF 3.1.1 feature.xml. It contains elements like:
> {code}
> <feature name="cxf-specs" resolver="(obr)" version="3.1.1">
>     ...
> </feature>
> {code}
> According to the XSD on the web site, this should be OK.
> Unfortunately, schema validation throws on kar:install.
> Extremely unfortunately, kar:install does not print any error, and the kar is 'installed', but none of its features are installed.
> The trouble is only to be seen in the log.
> I will attach the feature.xml and the relevant log.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)