karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-1751) Spring feature dependencies specified too tightly
Date Wed, 22 Aug 2012 01:14:38 GMT

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

Freeman Fang commented on KARAF-1751:

To keep backward compatibility, we should explicitly specify the range but not let version="2.2.7"
implicitly means "[2.2.7,2.2.8)"  in feature
> Spring feature dependencies specified too tightly
> -------------------------------------------------
>                 Key: KARAF-1751
>                 URL: https://issues.apache.org/jira/browse/KARAF-1751
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 2.2.7
>            Reporter: Chris Dolan
> Karaf 2.2.7 ships with the "http" feature that specifies pax-web 1.0.9. But I need fixes
in pax-web 1.1.4 (for Jetty 7.6). So, I create my own override-features.xml with an "http"
feature with version="2.2.7.override" with my version of pax-web. However, the spring-web
feature (which is transitively required by CXF) declares this prereq:
> {code}
> <feature version="2.2.7">http</feature>
> {code}
> where it should be something like "[2.2,2.3)" or "[2,3)". This too-tightly-specified
version causes both pax-web 1.0.9 and 1.1.4 to be loaded into my container, causing lots of
> This is a issue for many of the Spring features. I request that the versions be loosened
in the features.xml to allow people like me to selectively override transitive features.

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


View raw message