Description
for an instance, we have a simple features.xml like
<?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>
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