Karaf
  1. Karaf
  2. KARAF-965

Allow features-maven-plugin to handle multiple versions of the same feature

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.4
    • Fix Version/s: 2.2.5, 3.0.0
    • Component/s: karaf-tooling
    • Labels:
      None

      Description

      The current implementation of the 'add-features-to-repo' goal in the features-maven-plugin allows you to list feature descriptors and names of features you want to copy. If you have multiple versions of the same feature (e.g. if you accidentally pick up another version of the same features descriptor through a <repository/> element somewhere in one of the feature descriptors), the plugin just pick one of the two feature version and the only way to control which one is usually be reordering the feature descriptor configurations.

      It would make a nice improvement if you could somehow specify a version for a feature (e.g. <feature>cxf/2.4.3</feature>) in your POM file in this scenario to clearly/reliably pick one specific version if necessary).

      Cfr. http://karaf.922171.n3.nabble.com/Features-td3423534.html for some background on this issue

        Activity

        Hide
        Jean-Baptiste Onofré added a comment -

        Fixed on karaf-2.2.x: revision 1212979.

        Show
        Jean-Baptiste Onofré added a comment - Fixed on karaf-2.2.x: revision 1212979.
        Hide
        Jean-Baptiste Onofré added a comment -

        Fixed on trunk: revision 1213168.

        Show
        Jean-Baptiste Onofré added a comment - Fixed on trunk: revision 1213168.

          People

          • Assignee:
            Jean-Baptiste Onofré
            Reporter:
            Gert Vanthienen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development