[
https://issues.apache.org/jira/browse/KARAF-6505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16964648#comment-16964648
]
ASF subversion and git services commented on KARAF-6505:
--------------------------------------------------------
Commit 06bdf12ff8441e45071c2558d86f1223f32ca43a in karaf's branch
refs/heads/karaf-4.2.x from Nelson Antunes
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=06bdf12 ]
[KARAF-6505] Allow override of the bundle's dependency attribute (#984)
[KARAF-6505] Override bundle's dependency attribute by specifying it in the
feature descriptor
(cherry picked from commit 53e47855c8508b4e710255e3039896ca00758d6d)
> 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.3.0, 4.2.7
> Reporter: Nelson Antunes
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
> Fix For: 4.3.0, 4.2.8
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)