I would like to prepare a custom distribution of karaf 4.0.1 with all the dependencies features (or libraries) and resources like Oracle connection pool and JMS connection factories pre-configured.
I have read the documentation at https://karaf.apache.org/manual/latest/developers-guide/custom-distribution.html and understand that karaf-assembly mvn plugin can do the job. The plugin can control feature installation through elements like installedFeature/startupFeature/bootFeature, but my oracle connection pool involve steps like below to install Oracle jdbc driver install -s wrap:mvn:com.oracle/ojdbc6/11.2.0 How could I include such step through karaf-assembly mvn plugin? In addition, how can I instruct karaf-assembly plugin to include config file like "org.ops4j.datasource-<ds_name>.cfg" in the etc folder? where should I place my cfg file in my maven project? It would be good if anyone can point me to more detailed documentations or tutorials about how to make custom karaf distribution. Thanks in advance. -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-4-0-1-Custom-Distribution-with-karaf-assembly-mvn-plugin-tp4042855.html Sent from the Karaf - User mailing list archive at Nabble.com.
