You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Amichai Rothman (JIRA)" <ji...@apache.org> on 2015/09/03 16:07:46 UTC

[jira] [Commented] (KARAF-3972) can't genrate feature with prerequisite using karaf-maven-plugin

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

Amichai Rothman commented on KARAF-3972:
----------------------------------------

A further thought: since the plugin is the one that generates the <bundle>wrap:mvn:...</bundle> elements from pom dependencies in the first place, perhaps it should also be adding the wrap feature as a prerequisite automatically in such a case. This is independent of the above request to allow the pom to add the prerequisite attribute manually when necessary.

> can't genrate feature with prerequisite using karaf-maven-plugin
> ----------------------------------------------------------------
>
>                 Key: KARAF-3972
>                 URL: https://issues.apache.org/jira/browse/KARAF-3972
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.0.1
>            Reporter: Amichai Rothman
>
> When upgrading from Karaf 3.0.3 to 4.0.1, integration tests fail do to missing wrap feature (exception because of "unknown protocol: wrap"). The solution is presumably to add wrap as a prerequisite for my own feature by adding the appropriate attribute in the feature xml.
> However, the feature xml is being generated using karaf-maven-plugin, and there seems to be no way to add the prerequisite attribute to the generated feature xml file.



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