[
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
(v6.3.4#6332)