> > It could be dangerous to uninstall a top level feature which could be used > in others features.
Indeed. This is why I am trying to find a solution around it. To recap possible solutions: a) When uninstalling a feature, check if it contains references to other top level features and for each reference check if it is used and if not uninstall it. b) When specifying delcaring a feature reference use an attribute which would specify the uninstall behavior. c) Provide the ability to declare top level features that are only installable as references and not as standalone (what I described as abstract features). -- *Ioannis Canellos* * http://iocanel.blogspot.com Apache Karaf <http://karaf.apache.org/> Committer & PMC Apache ServiceMix <http://servicemix.apache.org/> Committer *
