Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1751

Spring feature dependencies specified too tightly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.7
    • 2.2.10, 2.3.0, 3.0.0
    • karaf
    • 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.

      Attachments

        Activity

          People

            ffang Freeman Yue Fang
            cdolan Chris Dolan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: