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 2018/11/11 07:32:01 UTC

[jira] [Resolved] (KARAF-4285) features-add-to-repository ignore conditional features

     [ https://issues.apache.org/jira/browse/KARAF-4285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-4285.
-----------------------------------------
    Resolution: Cannot Reproduce

> features-add-to-repository ignore conditional features
> ------------------------------------------------------
>
>                 Key: KARAF-4285
>                 URL: https://issues.apache.org/jira/browse/KARAF-4285
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.0.4
>            Reporter: J. Brébec
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>
> when a feature declare a "conditional feature", the goal features-add-to-repository doesn't add this conditional feature in the target repository.
> by exemple :
> <feature name="opt">
>   <bundle>A</bundle>
> </feature>
> <feature name="main">
>   <conditional>
>     <condition>shell</condition>
>     <feature>opt</feature>
>   </conditional>
> </feature>
> then if i try to package "main" and "shell", then the bundle A is never copyed to the repository



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)