|
Re: Install ECF into Karaf Offline [message #1706708 is a reply to message #1706706] |
Fri, 28 August 2015 23:29 |
Scott Lewis Messages: 1038 Registered: July 2009 |
Senior Member |
|
|
David Sousa wrote on Fri, 28 August 2015 17:08What 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.
Hi David,
We've been discussing this issue with Christian Schnieder among others. ECF does have a maven repo:
http://build.ecf-project.org/maven/3.10.1/
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:
<bundle>
http://download.eclipse.org/equinox/drops/R-Luna-201406061215/org.eclipse.equinox.supplement_1.5.100.v20140428-1446.jar
</bundle>
<bundle start-level="50">
http://download.eclipse.org/equinox/drops/R-Luna-201406061215/org.eclipse.equinox.common_3.6.200.v20130402-1505.jar
</bundle>
<bundle>
http://download.eclipse.org/equinox/drops/R-Luna-201406061215/org.eclipse.core.jobs_3.6.0.v20140424-0053.jar
</bundle>
<bundle>
http://download.eclipse.org/equinox/drops/R-Luna-201406061215/org.eclipse.equinox.concurrent_1.1.0.v20130327-1442.jar
</bundle>
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.03238 seconds