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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        46d 20h 10m 1 Jean-Baptiste Onofré 12/Dec/11 09:20
        Resolved Resolved Closed Closed
        45d 16h 39m 1 Jamie goodyear 27/Jan/12 01:59
        Jamie goodyear made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jean-Baptiste Onofré made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Jean-Baptiste Onofré added a comment -

        Fixed on trunk: revision 1213168.

        Show
        Jean-Baptiste Onofré added a comment - Fixed on trunk: revision 1213168.
        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.
        Jean-Baptiste Onofré made changes -
        Fix Version/s 3.0.0 [ 12316040 ]
        Jean-Baptiste Onofré made changes -
        Field Original Value New Value
        Assignee Jean-Baptiste Onofré [ jbonofre ]
        Gert Vanthienen created issue -

          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