Karaf 4.4.3 and Karaf 4.4.6
Placing a feature.xml file in the deploy directory will not add features to
Karaf if all features contain the attribute 'install', i.e. <feature name="..."
install="...">. As long as one feature does not contain the attribute
"install", all features in the the file will be listed in "feature:list"
karaf@root()> feature:list | grep case
case-install-true-foo │ 1.0.0 │ x │ Started │
install-true-1.0.0 │
case-install-true-bar │ 1.0.0 │ │ Uninstalled │
install-true-1.0.0 │
karaf@root()>
***
* deploy/install-false-1.0.0.xml
***
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.6.0"
name="install-false-1.0.0">
<feature name="case-install-false-foo" install="false" version="1.0.0">
<bundle
start="false">mvn:org.apache.commons/commons-lang3/3.14.0</bundle>
</feature>
<feature name="case-install-false-bar" install="false" version="1.0.0">
<bundle
start="false">mvn:commons-beanutils/commons-beanutils/1.9.4</bundle>
</feature>
</features>
***
* deploy/install-true-1.0.0.xml
***
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.6.0"
name="install-true-1.0.0">
<feature name="case-install-true-foo" version="1.0.0">
<bundle
start="false">mvn:org.apache.commons/commons-lang3/3.14.0</bundle>
</feature>
<feature name="case-install-true-bar" install="false" version="1.0.0">
<bundle
start="false">mvn:commons-beanutils/commons-beanutils/1.9.4</bundle>
</feature>
</features>
Is this a bug?
Paul Spencer