--
You received this message because you are subscribed to the Google Groups "bndtools-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-export-maven-plugin</artifactId>
<version>${bnd.version}</version>
<configuration>
<bndruns>
<bndrun>helloworld-web.bndrun</bndrun>
</bndruns>
<targetDir>.</targetDir>
</configuration>
<executions>
<execution>
<goals>
<goal>export</goal>
</goals>
</execution>
</executions>
</plugin>I want to create osgi bundle with all dependent third party jars inside it
Like in the example we have module 'helloworld-api' if I create OSGi bundle and deploy on felix, then I can use these API in many implementation bundle . As of now when I deploy independent helloworld-api.jar on felix, it gives error of"org.osgi.framework.BundleException: Unresolved constraint in bundle helloworld-api [10]: Unable to resolve 10.0: missing requirement [10.0] osgi.extender; (&(osgi.extender=osgi.component)(version>=1.3.0)(!(version>=2.0.0)))"as it is dependent on 'osgi.annotation'<dependencies><dependency><groupId>org.osgi</groupId><artifactId>osgi.annotation</artifactId></dependency></dependencies>
So what can be the way if I want to create OSGi bundle along with all the dependent third party jars?
Doubt: If I have that much number of dependent third party jars for many bundle then should I deploy these all third party jars using Felix File Install?
Doubt: After deployment of these third party jar we can then deploy/install developed OSGi bundle on felix or karaf, am I right?
Big doubt: Provided example is still OSGi app even after running with runnable jar, right? Here I want to check plug-able architecture, is it possible with this example?