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

karaf-maven-plugin should more closely map to POMs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 4.1.0, 4.0.6, 3.0.8
    • karaf
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: