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

Jean-Baptiste Onofré commented on KARAF-2818:
---------------------------------------------

The purpose is not the same:
- org.apache.karaf.features.cfg defines the feature repositories registered in 
Karaf
- org.apache.karaf.repos.cfg defines (for convenience) the feature repositories 
that CAN be added to Karaf

If you add a feature repository in org.apache.karaf.features.cfg, the 
repository is added: it means that you will see all features containing in the 
repository just after startup (for instance, using feature:list).
If you add a feature repository in org.apache.karaf.repos.cfg, before being 
able to add a feature, you have to add the repository (not feature from the 
repository are displayed by feature:list after startup while you don't add 
explicitly the repository).
I don't know if I'm clear ;)

The URL in feature repository is a MVN URL (I agree that it could be extended), 
supporting version range (to be able to add the latest features repository).

Regards
JB

> Add ECF to feature repo
> -----------------------
>
>                 Key: KARAF-2818
>                 URL: https://issues.apache.org/jira/browse/KARAF-2818
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-config
>    Affects Versions: 3.0.0
>            Reporter: Achim Nierbeck
>            Assignee: Achim Nierbeck
>             Fix For: 3.0.1, 3.1.0
>
>
> Eclipse communication framework (ECF) now provides a feature file for easier 
> installation in Karaf. The link to the repository should be included in the 
> features.repo.  



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to