[
https://issues.apache.org/jira/browse/KARAF-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174102#comment-13174102
]
Jean-Baptiste Onofré commented on KARAF-971:
--------------------------------------------
OK, I created a MvnParser (based on the Pax URL one), using
Version/VersionTable/VersionRange to handle version.
However, currently the URI stored in the feature repositories contains the
version range, whereas it should be resolved (during adding) by the "real" URI
(latest version as adding time).
> 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.2.5, 3.0.0
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira