karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Dolan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-1751) Spring feature dependencies specified too tightly
Date Tue, 21 Aug 2012 18:21:37 GMT
Chris Dolan created KARAF-1751:

             Summary: 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:

<feature version="2.2.7">http</feature>

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 problems.

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