Freeman Fang created KARAF-3642:
-----------------------------------
Summary: bundles mistaken got unstalled even though it has a
depending feature with it.
Key: KARAF-3642
URL: https://issues.apache.org/jira/browse/KARAF-3642
Project: Karaf
Issue Type: Bug
Reporter: Freeman Fang
for an instance, we have a simple features.xml like
{code}
<?xml version="1.0" encoding="UTF-8"?>
<features name="ENTESB-2911"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://karaf.apache.org/xmlns/features/v1.0.0"
xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.0.0
http://karaf.apache.org/xmlns/features/v1.0.0">
<feature name='featureA' version='2.15.0' resolver='(obr)' start-level='50'>
<feature version='2.15.0'>camel-core</feature>
<feature version='2.15.0'>featureB</feature>
</feature>
<feature name='featureB' version='2.15.0' resolver='(obr)' start-level='50'>
<bundle dependency='true'>mvn:com.google.guava/guava/18.0</bundle>
<bundle>mvn:org.apache.camel/camel-guava-eventbus/2.15.0</bundle>
</feature>
<feature name='featureC' version='2.15.0' resolver='(obr)' start-level='50'>
<bundle>mvn:com.google.guava/guava/18.0</bundle>
</feature>
</features>
{code}
If we install featureC, featureA, then we uninstall featureC, we can see bundle
mvn:com.google.guava/guava/18.0
get uninstalled even though it still used in featureA
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)