We have a feature install as follows:

<feature name="myFeature" version="1.0.0-SNAPSHOT" resolver="(obr)"
start-level="90" description="description">
    
        <feature version="1.0.0-SNAPSHOT">feature1</feature>
        <feature version="1.0.0-SNAPSHOT">feature2</feature>
        
        <bundle>mvn:com.foo.bar/component1/1.0.0-SNAPSHOT</bundle>
    </feature>

<feature name="feature2" version="1.0.0-SNAPSHOT" resolver="(obr)"
start-level="90" description="description">
    
        <feature version="1.0.0-SNAPSHOT">feature1</feature>
        
        <bundle>mvn:com.foo.bar/component2/1.0.0-SNAPSHOT</bundle>
    </feature>

In a particular Karaf 3.0.2 server (with older versions of our software),
component1 is being installed successfully but component2 is not.

In a different Karaf 3.0.2 server (with latest versions of our software),
component1 and component2 is being installed successfully.

In the former case, I did not see any exceptions in the karaf log so it
seems as if karaf is skipping the compononent2 install.  I verified that the
JAR does indeed exist in the karaf/data/repo directory structure.

Has anybody else seen this and can you provide an explanation?

I verified in the Karaf cmd line console using 'list | grep -i
<componentName>' that the bundle was not already installed...



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-skipping-feature-install-tp4036927.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to