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

Sascha Vogt commented on KARAF-4285:
------------------------------------

Hi,

foo is listed explicitly in your example. You should check if test-conditional 
/ commons-lang is available. 

Also when setting includeTransitive to true it should include test-conditional 
even if it is not selected. Otherwise its hard to create self-contained 
distributions where users can install features themselves.

> 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)

Reply via email to