Karaf
  1. Karaf
  2. KARAF-1751

Spring feature dependencies specified too tightly

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.7
    • Fix Version/s: 2.2.10, 2.3.0, 3.0.0
    • Component/s: karaf-feature
    • Labels:
      None

      Description

      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.

        Activity

          People

          • Assignee:
            Freeman Fang
            Reporter:
            Chris Dolan
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development