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

Add includeTransitiveDependencies option to features-generate-descriptor Maven goal

    XMLWordPrintableJSON

Details

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

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

            Dates

              Created:
              Updated:
              Resolved: