Hi,

It seems as single jar applications are currently envogue like spring-boot or 
wildfly-swarm.

I did wonder if there is an example project for OSGi applications that want to 
do the same?

So the single jar should contain a OSGi framework/runtime and all necessary 
bundles for a given application.

I tried to create something like this and came up with this:
https://github.com/thomasmey/smServer

The only problem is that the maven assembly plugin is calling the maven 
archiver plugin to create the final jar file. In this step the manifest file 
from the unpacked OSGi runtime is overwritten and so all osgi headers are 
removed...
But it's maybe possible to create an working uber jar this way.

Any ideas suggestions?!

The goal for me is to have a single jar file that I can easily deploy on an 
cloud foundry environment like IBM blue mix or something like that.

With kind regards
Thomas
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to