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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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
        jbonofre Jean-Baptiste Onofré added a comment -

        Fixed on karaf-2.2.x: revision 1212979.

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

        Fixed on trunk: revision 1213168.

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development