[IOTDM-87] Fix broken KarafFeatureLoader after migration to Karaf4 Created: 24/Apr/17  Updated: 20/Nov/17

Status: Open
Project: iotdm
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Tomas Janciga Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 8285
Priority: High

 Description   

Plugins migrated to Karaf4 must have set packaging to: kar
Maven will generate also karaf archive including all features of the plugin. Problem is that the resulting karaf archive doesn't include features.xml file in its root as it is required by KarafFeatureLoader.
Seems that there's no way how to force creation of such karaf archives by maven so it will be probably needed to implement optional parameter for karaf archive install RPC where will be specified location of repository file (features.xml) in the karaf archive. It is located in one of directories in repository directory of the archive and it has different name consisting of artifact ID and version.

It's possible that there are still some other issues causing broken KarafFeatureLoader. They need to be investigated e.g. by some small (hello world) plugin.

We need to minimize number of dependencies of plugins so this task should be dependent on the task: https://bugs.opendaylight.org/show_bug.cgi?id=8282


Generated at Wed Feb 07 20:05:08 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.