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

karaf-maven-plugin should more closely map to POMs

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 4.1.0, 4.0.6, 3.0.8
    • Component/s: karaf
    • Labels:
      None

      Description

      If karaf-maven-plugin is run against a set of POMs, the output of a feature generated for a given project seems to be the transitive closure of the dependencies in the form of a <bundle> entry for each dependency of the project. This seems incorrect though. Consider if a parent project P builds A and B where A depends on X, B depends on A and Y. Currently, the feature for A will be a single bundle entry for X and the feature for B will be three bundle entries for A, X & Y.

      It seems to make more sense that the feature for B would actually be one <feature> entry for A and a <bundle> entry for Y. The <bundle> for X would be transitively found through the feature definition for A.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jbonofre Jean-Baptiste Onofré
                Reporter:
                topping Brian Topping
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: