I have several questions. I am working to develop a product using Opendaylight. Its Helium release uses Karaf, but we are wanting to remove as many features as possible from that distribution.
I searched the history of this list and saw several conversations addressing a minimal distribution than you get using <artifactId>apache-karaf-minimal</artifactId>. There are a large number of features in this distribution that we do not want to deploy with the final product. Question 1). Is there a way to create a more minimal (some have called it core) distribution. If not, it appears that one could find the feature descriptors used by karaf via the framework, karaf.branding?, and standard dependencies. If I could find these descriptors, we could put our own edited copies of these on our Nexus server. Question 2) Is there a better way? If not, then... Question 3) I have found feature descriptors for standard, enterprise and spring. So far have not found the others. The following is what I am trying to remove: And thanks Name | Version | Installed | Repository | Description ----------------------------------------------------------------------------------------------------------------------------------------------------------------- framework-security | 3.0.1 | | standard-3.0.1 | OSGi Security for Karaf aries-annotation | 3.0.1 | | standard-3.0.1 | Aries Annotations wrapper | 3.0.1 | | standard-3.0.1 | Provide OS integration service-wrapper | 3.0.1 | | standard-3.0.1 | Provide OS integration (alias to wrapper feature) obr | 3.0.1 | | standard-3.0.1 | Provide OSGi Bundle Repository (OBR) support http-whiteboard | 3.0.1 | | standard-3.0.1 | Provide HTTP Whiteboard pattern support jetty | 8.1.9.v20130131 | | standard-3.0.1 | webconsole | 3.0.1 | | standard-3.0.1 | Base support of the Karaf WebConsole scheduler | 3.0.1 | | standard-3.0.1 | Provide a scheduler service in Karaf to fire event eventadmin | 3.0.1 | | standard-3.0.1 | OSGi Event Admin service specification for event-b jasypt-encryption | 3.0.1 | | standard-3.0.1 | Advanced encryption support for Karaf security scr | 3.0.1 | | standard-3.0.1 | Declarative Service support blueprint-web | 3.0.1 | | standard-3.0.1 | Provides an OSGI-aware Servlet ContextListener for pax-cdi | 0.7.0 | | org.ops4j.pax.cdi-0.7.0 | Provide CDI support pax-cdi-1.1 | 0.7.0 | | org.ops4j.pax.cdi-0.7.0 | Provide CDI 1.1 support pax-cdi-weld | 0.7.0 | | org.ops4j.pax.cdi-0.7.0 | Weld CDI support pax-cdi-1.1-weld | 0.7.0 | | org.ops4j.pax.cdi-0.7.0 | Weld CDI 1.1 support pax-cdi-openwebbeans | 0.7.0 | | org.ops4j.pax.cdi-0.7.0 | OpenWebBeans CDI support pax-cdi-web | 0.7.0 | | org.ops4j.pax.cdi-0.7.0 | Web CDI support pax-cdi-1.1-web | 0.7.0 | | org.ops4j.pax.cdi-0.7.0 | Web CDI 1.1 support pax-cdi-web-weld | 0.7.0 | | org.ops4j.pax.cdi-0.7.0 | Weld Web CDI support pax-cdi-1.1-web-weld | 0.7.0 | | org.ops4j.pax.cdi-0.7.0 | Weld Web CDI 1.1 support pax-cdi-web-openwebbeans | 0.7.0 | | org.ops4j.pax.cdi-0.7.0 | OpenWebBeans Web CDI support pax-cdi-deltaspike-core | >0.5 | | org.ops4j.pax.cdi-0.7.0 | Apache Deltaspike core support pax-cdi-deltaspike-jpa | 0.5 | | org.ops4j.pax.cdi-0.7.0 | Apche Deltaspike jpa support spring-dm | 1.2.1 | | spring-3.0.1 | Spring DM support spring-dm-web | 1.2.1 | | spring-3.0.1 | Spring DM Web support spring | 3.1.4.RELEASE | | spring-3.0.1 | Spring 3.1.x support spring-aspects | 3.1.4.RELEASE | | spring-3.0.1 | Spring 3.1.x AOP support spring-instrument | 3.1.4.RELEASE | | spring-3.0.1 | Spring 3.1.x Instrument support spring-jdbc | 3.1.4.RELEASE | | spring-3.0.1 | Spring 3.1.x JDBC support spring-jms | 3.1.4.RELEASE | | spring-3.0.1 | Spring 3.1.x JMS support spring-struts | 3.1.4.RELEASE | | spring-3.0.1 | Spring 3.1.x Struts support spring-test | 3.1.4.RELEASE | | spring-3.0.1 | Spring 3.1.x Test support spring-orm | 3.1.4.RELEASE | | spring-3.0.1 | Spring 3.1.x ORM support spring-oxm | 3.1.4.RELEASE | | spring-3.0.1 | Spring 3.1.x OXM support spring-tx | 3.1.4.RELEASE | | spring-3.0.1 | Spring 3.1.x Transaction (TX) support spring-web | 3.1.4.RELEASE | | spring-3.0.1 | Spring 3.1.x Web support spring-web-portlet | 3.1.4.RELEASE | | spring-3.0.1 | Spring 3.1.x Web Portlet support spring | 3.2.4.RELEASE | | spring-3.0.1 | Spring 3.2.x support spring-aspects | 3.2.4.RELEASE | | spring-3.0.1 | Spring 3.2.x AOP support spring-instrument | 3.2.4.RELEASE | | spring-3.0.1 | Spring 3.2.x Instrument support spring-jdbc | 3.2.4.RELEASE | | spring-3.0.1 | Spring 3.2.x JDBC support spring-jms | 3.2.4.RELEASE | | spring-3.0.1 | Spring 3.2.x JMS support spring-struts | 3.2.4.RELEASE | | spring-3.0.1 | Spring 3.2.x Struts support spring-test | 3.2.4.RELEASE | | spring-3.0.1 | Spring 3.2.x Test support spring-orm | 3.2.4.RELEASE | | spring-3.0.1 | Spring 3.2.x ORM support spring-oxm | 3.2.4.RELEASE | | spring-3.0.1 | Spring 3.2.x OXM support spring-tx | 3.2.4.RELEASE | | spring-3.0.1 | Spring 3.2.x Transaction (TX) support spring-web | 3.2.4.RELEASE | | spring-3.0.1 | Spring 3.2.x Web support spring-web-portlet | 3.2.4.RELEASE | | spring-3.0.1 | Spring 3.2.x Web Portlet support spring | 4.0.2.RELEASE_1 | | spring-3.0.1 | Spring 4.0.x support spring-aspects | 4.0.2.RELEASE_1 | | spring-3.0.1 | Spring 4.0.x AOP support spring-instrument | 4.0.2.RELEASE_1 | | spring-3.0.1 | Spring 4.0.x Instrument support spring-jdbc | 4.0.2.RELEASE_1 | | spring-3.0.1 | Spring 4.0.x JDBC support spring-jms | 4.0.2.RELEASE_1 | | spring-3.0.1 | Spring 4.0.x JMS support spring-test | 4.0.2.RELEASE_1 | | spring-3.0.1 | Spring 4.0.x Test support spring-orm | 4.0.2.RELEASE_1 | | spring-3.0.1 | Spring 4.0.x ORM support spring-oxm | 4.0.2.RELEASE_1 | | spring-3.0.1 | Spring 4.0.x OXM support spring-tx | 4.0.2.RELEASE_1 | | spring-3.0.1 | Spring 4.0.x Transaction (TX) support spring-web | 4.0.2.RELEASE_1 | | spring-3.0.1 | Spring 4.0.x Web support spring-web-portlet | 4.0.2.RELEASE_1 | | spring-3.0.1 | Spring 4.0.x Web Portlet support spring-websocket | 4.0.2.RELEASE_1 | | spring-3.0.1 | Spring 4.0.x WebSocket support spring-security | 3.1.4.RELEASE | | spring-3.0.1 | Spring Security 3.1.x support gemini-blueprint | 1.0.0.RELEASE | | spring-3.0.1 | Gemini Blueprint Extender transaction | 1.0.1 | | enterprise-3.0.1 | OSGi Transaction Manager jpa | 1.0.1 | | enterprise-3.0.1 | OSGi Persistence Container openjpa | 2.2.2 | | enterprise-3.0.1 | Apache OpenJPA 2.2.x persistence engine support openjpa | 2.3.0 | | enterprise-3.0.1 | Apache OpenJPA 2.3.x persistence engine support hibernate | 3.3.2.GA | | enterprise-3.0.1 | Hibernate 3.x JPA persistence engine support hibernate | 4.2.7.Final | | enterprise-3.0.1 | Hibernate 4.2.x JPA persistence engine support hibernate-envers | 4.2.7.Final | | enterprise-3.0.1 | Hibernate Envers 4.2.x hibernate | 4.3.1.Final | | enterprise-3.0.1 | Hibernate 4.3.x JPA persistence engine support hibernate-envers | 4.3.1.Final | | enterprise-3.0.1 | Hibernate Envers 4.3.x hibernate-validator | 5.0.3.Final | | enterprise-3.0.1 | Hibernate Validator support jndi | 3.0.1 | | enterprise-3.0.1 | OSGi Service Registry JNDI access jdbc | 3.0.1 | | enterprise-3.0.1 | JDBC service and commands jms | 3.0.1 | | enterprise-3.0.1 | JMS service and commands openwebbeans | 1.2.1 | | enterprise-3.0.1 | Apache OpenWebBeans CDI container support weld | 2.1.1.Final | | enterprise-3.0.1 | JBoss Weld CDI container support application-without-isolation | 1.0.0 | | enterprise-3.0.1 | Provide EBA archive support odl-yangtools-restconf | 0.6.3-SNAPSHOT | | odl-yangtools-0.6.3-SNAPSHOT | OpenDaylight :: Yangtools :: Restconf pax-tomcat | 7.0.27.1 | | org.ops4j.pax.web-3.1.0 | Provide Tomcat engine support -- View this message in context: http://karaf.922171.n3.nabble.com/Minimal-Distribution-tp4036238.html Sent from the Karaf - Dev mailing list archive at Nabble.com.
