I am working on a project where the goal is to build a feature that can be installed into Karaf even if the destination server has no Internet access. >From what I've read, a kar file seems like a good fit. I've created a kar file from a simple features.xml file, and can see that copying it to the Karaf 'deploy' folder installs my feature, requiring neither Internet access nor Maven.
Now I want to take this a step further. I have another feature that requires the destination server to have ActiveMQ installed. I can add a repository & feature to my features.xml file which automatically installs ActiveMQ like this: <features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0"> <repository>mvn:org.apache.activemq/activemq-karaf/5.8.0/xml/features</repository> <features name="myfeature" version="1.0-SNAPSHOT"> <feature version='5.8.0'>activemq-broker</feature> ... This works just fine, except that it requires both Internet access, and a copy of Maven to be installed on the destination server. I was hoping that when I created the kar file from this features.xml file, that the activemq-broker feature would be included in my kar file. That way deploying my kar file would include everything and nothing would need to be downloaded. That does not appear to be the case. Have I missed something in creating my kar file? If not, how can I deploy my feature and all dependent features without requiring them to be downloaded from the destination server? Any ideas are greatly appreciated. -- View this message in context: http://karaf.922171.n3.nabble.com/kar-files-and-external-dependencies-tp4028764.html Sent from the Karaf - User mailing list archive at Nabble.com.
