Uploaded image for project: 'ServiceMix 4'
  1. ServiceMix 4
  2. SMX4-446

Update Feature file of SMX4 to use HTTP feature of karaf and same version of jetty as camel feature file

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.4.0
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available
    1. SMX-446.patch
      3 kB
      Charles Moulliard

      Activity

      Hide
      cmoulliard Charles Moulliard added a comment -

      Here is the modification that I have done :

      • Remove web feature (= replaced by Karaf http feature)
      • Rename web --> war-deployer
        <feature name="war-deployer" version="$ {version}">
        <feature version="${felix.karaf.version}">http</feature>
        <bundle>mvn:org.apache.servicemix.war/org.apache.servicemix.war.deployer/${version}

        </bundle>
        </feature>

      • Change in the pom version of jetty service --> 6.1.19_2
      • Clean cxf feature

      <feature name="cxf-osgi" version="$

      {version}

      ">
      <feature version="$

      {cxf.version}

      ">cxf</feature>
      <feature version="$

      {felix.karaf.version}">http</feature>
      </feature>
      - Add repository reference in feature file
      <repository>mvn:org.apache.felix.karaf/apache-felix-karaf/${felix.karaf.version}

      /xml/features</repository>

      Show
      cmoulliard Charles Moulliard added a comment - Here is the modification that I have done : Remove web feature (= replaced by Karaf http feature) Rename web --> war-deployer <feature name="war-deployer" version="$ {version}"> <feature version="${felix.karaf.version}">http</feature> <bundle>mvn:org.apache.servicemix.war/org.apache.servicemix.war.deployer/${version} </bundle> </feature> Change in the pom version of jetty service --> 6.1.19_2 Clean cxf feature <feature name="cxf-osgi" version="$ {version} "> <feature version="$ {cxf.version} ">cxf</feature> <feature version="$ {felix.karaf.version}">http</feature> </feature> - Add repository reference in feature file <repository>mvn:org.apache.felix.karaf/apache-felix-karaf/${felix.karaf.version} /xml/features</repository>
      Hide
      gertvanthienen Gert Vanthienen added a comment -

      Features descriptors have been updated to reuse as much of the dependency features definitions as possible (e.g. reusing the web/http/... features from Karaf itself), so that also resolves this issue.

      Show
      gertvanthienen Gert Vanthienen added a comment - Features descriptors have been updated to reuse as much of the dependency features definitions as possible (e.g. reusing the web/http/... features from Karaf itself), so that also resolves this issue.

        People

        • Assignee:
          gertvanthienen Gert Vanthienen
          Reporter:
          cmoulliard Charles Moulliard
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development