karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Jira) <j...@apache.org>
Subject [jira] [Updated] (KARAF-5198) KAR:Create update feature file based on list of features provided
Date Tue, 06 Oct 2020 03:51:00 GMT

     [ https://issues.apache.org/jira/browse/KARAF-5198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jean-Baptiste Onofré updated KARAF-5198:
    Fix Version/s:     (was: 4.2.10)

> KAR:Create update feature file based on list of features provided
> -----------------------------------------------------------------
>                 Key: KARAF-5198
>                 URL: https://issues.apache.org/jira/browse/KARAF-5198
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf
>         Environment: N/A
>            Reporter: George McCone
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 4.3.0, 4.2.11
> When you create a KAR file using the kar:create command, you can give it a list of features
of the specified repo to include in the KAR file.
> It appears that the feature file that is included in the KAR is copied straight out of
the repo and includes all the features regardless of the those specified.
> When the KAR is deployed, it is starting all the features in the feature file. In many
cases this is resulting in the starting of numerous other features.
> One good example of this is the cxf-dosgi repo's feature "cxf-dosgi-base" which has a
feature defined for libs needed when running outside Karaf (or at least that is what the description
says for the feature). It references a bunch of bundles that come with core Karaf and when
this feature tries to install, it hangs the KAR deployer and Karaf won't shutdown correctly.
> It would be nice if the feature file either removed those features that were not exported,
or mark the feature with install="manual", assuming KARAF-5197 adds this capability.

This message was sent by Atlassian Jira

View raw message