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

        Jean-Baptiste Onofré made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jean-Baptiste Onofré made changes -
        Assignee Jean-Baptiste Onofré [ jbonofre ]
        Peter Gardfjäll made changes -
        Field Original Value New Value
        Attachment karaf-931.patch [ 12504764 ]
        Jean-Baptiste Onofré created 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