Hi,
ServiceMix (Karaf) first looks for the artifacts in the system folder.
If the artifact is not present in the system folder, then ServiceMix
tries to download from the repositories defined in
etc/org.ops4j.pax.url.mvn.cfg.
The system folder is a "local Maven repository" using the Maven
directories structure:
groupId/artifactId/version/artifactId-version[-classifier].type
It means that you can simply populate the system folder according to
this directories structure.
You can do it:
- by hand
- using Maven deploy plugin (mvn deploy:deploy-file with the system
folder URL)
- using Maven Karaf feature plugin (the features-maven-plugin provides a
add-features-to-repo goal that automatically populate a directory like
the system folder)
Regards
JB
On 06/11/2014 04:20 PM, kazanture wrote:
Hello,
we are evaluating different ESB solution for our project.
The problem is our development enviroment is offline because of
classification issues. I have installed servicemix, but to install
additional features, karaf tries to connect online maven repositories. I
have searched for the full features repository for servicemix but I could
not find for the latest version(I have found for one of the previous
versions).
I guess I should be able to download the repository and manually place it to
a local maven repository and redirect karaf to the local repository somehow.
Any idea where i can find the repository and how i can do this?
--
View this message in context:
http://servicemix.396122.n5.nabble.com/Servicemix-offline-package-installation-tp5720803.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com