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

Unable to override bundle's dependency attribute by specifying it in the source feature.xml descriptor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.3.0, 4.2.7
    • 4.3.0, 4.2.8
    • karaf
    • None

    Description

      This is a regression introduced by https://jira.apache.org/jira/browse/KARAF-6418.

      The bundle's dependency attribute is being always determined by whatever the dependency is transitive or not (if markTransitiveAsDependency is true).

      It should respect the bundle entry provided in the feature descriptor to extend (usually in src/main/feature/feature.xml).

      The current workaround for a transitive dependency not to be marked as a dependency while using the markTransitiveAsDependency option is to add the bundle as a direct dependency of the module building the feature.

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              nantunes Nelson Antunes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: