|Re: Install ECF into Karaf Offline [message #1706708 is a reply to message #1706706]
||Fri, 28 August 2015 23:29
| Scott Lewis
Registered: July 2009
David Sousa wrote on Fri, 28 August 2015 17:08|
What would be the best way to install ECF into Karaf when there is no access to the Internet? I have tried to use the features-maven-plugin to download the necessary jars while connected to the Internet, and make a custom ServiceMix distribution. However, this does not work with the Eclipse P2 update sites in the features.xml file, i.e. nothing is copied to the target repository.
I have also tried using the kar:create command to generate a KAR file for the ecf-remoteservices-sdk feature after having installed the feature while online. However, the KAR file simply contains an entry for the P2 site in the manifest.
Any recommendations would be appreciated. Thanks.
We've been discussing this issue with Christian Schnieder among others. ECF does have a maven repo:
This contains all the ECF bundles as well as the Orbit bundles. However, we do have four dependencies on bundles managed by the Equinox project:
and as we/ECF don't maintain/manage these 4 bundles we can't add them to Maven central ourselves.
The Equinox team has agreed to eventually make all but one (core.jobs) of these bundles available at Maven central, but that hasn't been completed yet AFAIK and we will still need to get a hold of core.jobs somehow.
I'm willing to do what I can to meet your use case and other's, but since I'm not personally a maven expert I don't know what's the best course. I could perhaps create a maven repo and add the necessary Equinox dependencies to that custom repo, or create a zip that could be downloaded and used to install into Karaf. But I'm not sure what would be the best course or not. Please let me know what you think.
Powered by FUDForum
. Page generated in 0.02411 seconds