karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amichai Rothman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3972) can't genrate feature with prerequisite using karaf-maven-plugin
Date Thu, 10 Sep 2015 08:46:45 GMT

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

Amichai Rothman commented on KARAF-3972:

In case someone else needs it, the workaround I use is an antrun target using the replaceregexp
task to manipulate the generated xml and add the missing wrap prerequisite (with a hard-coded
search string).

> 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

View raw message