You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/10/13 15:03:00 UTC

[jira] [Commented] (KARAF-5414) Features mentioned in feature.xml stubs aren't taken into account in dependency calculations

    [ https://issues.apache.org/jira/browse/KARAF-5414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16203672#comment-16203672 ] 

ASF subversion and git services commented on KARAF-5414:
--------------------------------------------------------

Commit 226f9e8ed087c57b4ace236cb3fcc578a2720401 in karaf's branch refs/heads/master from [~skitt]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=226f9e8 ]

[KARAF-5414] Handle varying feature dependency versions

When a feature stub specifies a feature dependency, and the POM
contains a slight variant of the dependency (e.g., the former
specifies a version range, the latter specifies a single version), we
currently ignore the latter when resolving the former. This patch
changes the behaviour so that feature dependencies are matched more
generously, which allows dependency information to be correctly
analysed.

Signed-off-by: Stephen Kitt <sk...@redhat.com>


> Features mentioned in feature.xml stubs aren't taken into account in dependency calculations
> --------------------------------------------------------------------------------------------
>
>                 Key: KARAF-5414
>                 URL: https://issues.apache.org/jira/browse/KARAF-5414
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.1.2, 4.0.10
>            Reporter: Stephen Kitt
>            Assignee: Stephen Kitt
>
> When features dependencies are defined in a feature.xml stub, the feature isn't taken into account for bundle dependency calculations in the feature generator, even if the corresponding Maven dependency is specified in the POM. This means that bundles defined in the feature that's depended upon are repeated in the generated downstream feature.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)