karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <ch...@die-schneider.net>
Subject Experiment to make karaf 4 smaller
Date Wed, 07 May 2014 14:06:23 GMT
Hi all,

just wanted to share my experiences in trying to make karaf 4 minimal 
even smaller.

Currently karaf 4 minimal tar.gz is about 10MB.

With some small tweaks I was able to get it down to about 6MB.
I removed equinox (1.3 MB), XercesImpl (1.3MB in lib/endorsed) and some 
features like the wrapper.

I would not really suggest to do all this for karaf minimal but perhaps 
this helps some people who aim to build a really small custom distro.
What we might look into is to remove equinox and xerces from the 
framework kar and add them later in the two distros. This would allow 
people to build their own distros without tweaking the framework kar.


Christian Schneider

Open Source Architect


diff --git a/assemblies/apache-karaf-minimal/pom.xml b/assemblies/apache-karaf-minimal/pom.xml
index 385d3bd..475c54c 100644
--- a/assemblies/apache-karaf-minimal/pom.xml
+++ b/assemblies/apache-karaf-minimal/pom.xml
@@ -111,20 +111,12 @@
-                    <installedFeatures>
-                        <feature>wrapper</feature>
-                    </installedFeatures>
-                        <feature>ssh</feature>
-                        <feature>management</feature>
-                        <feature>deployer</feature>
-                        <feature>instance</feature>
-                        <feature>kar</feature>
diff --git a/assemblies/features/framework/pom.xml b/assemblies/features/framework/pom.xml
index 51dc83a..bd4a072 100644
--- a/assemblies/features/framework/pom.xml
+++ b/assemblies/features/framework/pom.xml
@@ -303,16 +303,19 @@
+                                <!--
+                                 -->

View raw message