karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-971) Add support for version ranges in features descriptor <repository/> element
Date Tue, 22 Jul 2014 20:28:39 GMT

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

Jean-Baptiste Onofré commented on KARAF-971:

I added an itest to show the version range is support in feature XML <repository/> tag:

It works for Karaf 2.3.x and Karaf 2.x, not yet on Karaf 3.x/4.x (as it's not yet supported
by pax-url-aether, see https://ops4j1.jira.com/browse/PAXURL-280).

> Add support for version ranges in features descriptor <repository/> element
> ---------------------------------------------------------------------------
>                 Key: KARAF-971
>                 URL: https://issues.apache.org/jira/browse/KARAF-971
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.2.4
>            Reporter: Gert Vanthienen
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.4.0, 2.3.6, 3.0.3
> Some features include a <repository/> element to refer to another feature descriptor.
 For example: http://search.maven.org/remotecontent?filepath=org/apache/camel/karaf/apache-camel/2.8.2/apache-camel-2.8.2-features.xml
contains a reference to the CXF features descriptor. 
> For referring to the cxf feature, it already uses a version range [2.4, 2.6) and if you
put the same version range on the repository element URL, it would just get resolved by Pax
Url Maven support.  
> It would be good if the features service would first check for a matching features descriptor
- if there's already a matching descriptor installed, it could just use the existing and skip/ignore
the repository resolution.

This message was sent by Atlassian JIRA

View raw message