Nelson Antunes created KARAF-6505:
-------------------------------------
Summary: Unable to override bundle's dependency attribute by
specifying it in the source feature.xml descriptor
Key: KARAF-6505
URL: https://issues.apache.org/jira/browse/KARAF-6505
Project: Karaf
Issue Type: Bug
Components: karaf
Affects Versions: 4.2.7, 4.3.0
Reporter: Nelson Antunes
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 build the feature.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)