You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Nelson Antunes (Jira)" <ji...@apache.org> on 2019/10/31 17:24:00 UTC
[jira] [Created] (KARAF-6505) Unable to override bundle's
dependency attribute by specifying it in the source feature.xml descriptor
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)