Does anyone know how to use a car to deploy OSGI bundles so that they do not appear in the geronimo maven repository? I have the car installing what i want, but everything gets added to the repo and it doesn't get uninstalled when the car is undeployed. This doesn't happen if you deploy the bundles thru the ui.



On Nov 21, 2012, at 10:44 AM, Marcos Mendez wrote:

Hi,

I'm trying to find a way to deploy many things in one package. We have mostly OSGI bundles (jar + war) but have some normal jars as dependencies. I want to be able to build something that I can deploy with geronimo in one shot and manage accordingly. J2EE stuff doesn't make sense... since this is using mostly OSGI. I've even looked at Karaf's KARs,  but they don't seem to be able to get the metadata inside those bundles to start/export them. I've tried CARGO, but they seem to have problems as well and I'll have to code deploying things one thing at a time.

So I turned to the geronimo car to be able to package inside normal jars, osgi bundles and wars. So I'm trying to find an example that does that. 

I don't want to install things in my local repo by hand. I'd like to install a car that has everything inside it needs - shouldn't even need to get to maven central to download stuff.

I'm also having problems seeing how to install normal jars in geronimo and OSGI bundles it needs to start.

On Nov 21, 2012, at 10:29 AM, Ivan wrote:

I am not quite sure your requirement, could you explain that a bit ?

2012/11/21 Marcos Mendez <marcos@jitisoft.com>

Is there an example of a geronimo plugin deploying normal jars, osgi bundles and an osgi web module somewhere?

Also, is there a way to bundle binaries (jars, wars) inside the car so that they don't have to be downloaded?



--
Ivan