karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5414) Features mentioned in feature.xml stubs aren't taken into account in dependency calculations
Date Fri, 13 Oct 2017 15:08:00 GMT

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

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

Commit d4c9456c5dee06d43e752608de89f6bff230ad50 in karaf's branch refs/heads/karaf-4.1.x from
[~skitt]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=d4c9456 ]

[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 <skitt@redhat.com>
(cherry picked from commit 226f9e8ed087c57b4ace236cb3fcc578a2720401)


> 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)

Mime
View raw message