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

Add includeTransitiveDependencies option to features-generate-descriptor Maven goal

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: 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.

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: