Hi  JB,

Thanks for your perseverence so far.

Trying to get correct feature install order using "requirement" as you suggest.

Spifly dynamic bundle exposes capability 
"osgi.extender=osgi.serviceloader.registrar"

Attached file has snippet of my approach. But does not work for me, yet.

Paul

============================================================

<feature name='vaadin-flow-base' description='Vaadin Flow Base' 
version='${project.version}'>

        <details>Vaadin Flow Base</details>

        <requirement>
            
osgi.extender;filter:=&quot;(osgi.extender=osgi.serviceloader.registrar)&quot;
        </requirement>

        <bundle>mvn:com.vaadin/flow-server/${vaadin.version}</bundle>
        <bundle>mvn:com.vaadin/flow-push/${vaadin.version}</bundle>
        <bundle>mvn:com.vaadin/flow-data/${vaadin.version}</bundle>
                ..........
                ..........
===============================================================         
                
            <plugin>
                <groupId>org.apache.karaf.tooling</groupId>
                <artifactId>karaf-maven-plugin</artifactId>
                <configuration>
                    <startupFeatures>
                    </startupFeatures>
                    <bootFeatures>
                        <!-- standard distribution -->
                        <feature>standard</feature>
                        <feature>pax-http</feature>
                        <feature>vaadin-flow</feature>
                        <!-- minimal distribution -->
                        <!--<feature>minimal</feature>-->
                    </bootFeatures>
                    <installedFeatures>
                        <feature>wrapper</feature>
                    </installedFeatures>

                    <javase>1.8</javase>
                </configuration>
            </plugin>

Reply via email to