How much of the system repository is needed for a karaf boot?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How much of the system repository is needed for a karaf boot?

Steinar Bang
The $KARAF_HOME/system directory is the top of an area laid out like a
maven repository, containing (in karaf 4.1.4) 64 jar files.

The repository is the first repository of the
org.ops4j.pax.url.mvn.defaultRepositories configuration setting.

How many of these jar files are needed for karaf to boot and start
pulling dependencies down from external maven repository?  None?  All?
Some? (if "some" are there a way to find out which ones are essential?)

Thanks!


 - Steinar (trying to figure out the proper way to do a debian package
   of karaf https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881297 )

Reply | Threaded
Open this post in threaded view
|

Re: How much of the system repository is needed for a karaf boot?

jbonofre
Hi Steinar,

All core jars are taken from system repository. Even startup.properties reads
from system repo.

Basically the minimum that you should have is the ones in  startup.properties
and, if you don't want remote resolution, the ones in boot features.

Regards
JB

On 01/16/2018 07:22 PM, Steinar Bang wrote:

> The $KARAF_HOME/system directory is the top of an area laid out like a
> maven repository, containing (in karaf 4.1.4) 64 jar files.
>
> The repository is the first repository of the
> org.ops4j.pax.url.mvn.defaultRepositories configuration setting.
>
> How many of these jar files are needed for karaf to boot and start
> pulling dependencies down from external maven repository?  None?  All?
> Some? (if "some" are there a way to find out which ones are essential?)
>
> Thanks!
>
>
>   - Steinar (trying to figure out the proper way to do a debian package
>     of karaf https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881297 )
>

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com