Karaf
  1. Karaf
  2. KARAF-931

Add includeTransitiveDependencies option to features-generate-descriptor Maven goal

    Details

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

      Description

      User e-mail:

      "
      from my understanding, the features-generate-descriptor goal of the
      karaf-maven-plugin (version 3.0.0-SNAPSHOT) pulls in all transitive
      dependencies into the created feature.xml file.

      I would like it to only include the bundles that I explicitly include in my
      dependencies. That is, I would like the plugin to ignore transitive
      dependencies. Now, is there a configuration parameter to achieve this? After
      reading the plugin documentation (mvn help:describe) I cannot seem to find
      such an option.

      Currently I'm using a bunch of <excludes> to ignore transitive dependencies
      but it's rather tedious and clutters the pom file.
      "

      It's clear that it's better to add an includeTransitiveDependency (as the assembly plugin) to manage the transitive dependencies.

      1. karaf-931.patch
        2 kB
        Peter Gardfjäll

        Activity

        Hide
        Jean-Baptiste Onofré added a comment -

        Fixed on trunk: revision 1205809.

        Show
        Jean-Baptiste Onofré added a comment - Fixed on trunk: revision 1205809.
        Hide
        Peter Gardfjäll added a comment -

        Attaching a proposed fix for this issue.

        Show
        Peter Gardfjäll added a comment - Attaching a proposed fix for this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development