Hi João
Well I’m searching for option to add to repo all features that are in 
repositories that I have provided e.g.:
I have Camel repo defined. It contains around 200 features. I would like repo 
to have them all not only the one that I need on boot. So user can add them if 
needed without internet.


Best regards
--
Mariusz Koprowski
Enterprise Solutions Engineering Lead
T: +48 42 253 48 28
E: 
[email protected]<mailto:[email protected]>
Hexagon Mining
Wolczanska 128/134
90-441, Lodz, Poland
www.hexagonmining.com<http://www.hexagonmining.com/> | 
WebEx<https://hexagongeosystems.webex.com/mw3100/mywebex/cmr/cmr.do?siteurl=hexagongeosystems&AT=meet&username=KOPM&siteurl=hexagongeosystems>
 | Skype<skype:[email protected]>

From: João Assunção [mailto:[email protected]]
Sent: Monday, August 21, 2017 6:49 PM
To: [email protected]
Subject: Re: Building karaf offline version with Karaf Cave

Hi Mariusz,

I've been using karaf-maven-plugin, with the goal features-add-to-repository, 
to generate a maven like repository with the set of features to make available 
offline.
I then change org.ops4j.pax.url.mvn.localRepository in  
org.ops4j.pax.url.mvn.cfg to point to the directory containing the repository 
produced by the plugin.
In the past this worked quite well, and I ended with a repository just with the 
dependencies specified in the plugin configuration. With the 4.x version, for 
some reason I'm still trying to figure out, I end with a repository with all 
the features, even standard ones.

Best regards,

João Assunção

Email: [email protected]<mailto:[email protected]>
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com<http://www.exploitsys.com>



On Mon, Aug 21, 2017 at 11:25 AM, Mariusz Koprowski 
<[email protected]<mailto:[email protected]>>
 wrote:
Hi All
I have a such situation. I need install karaf without internet connection.
I know that I could use Karaf Cave as a repo… but the question is how to 
populate it with all needed things.

E.g. AS a standard, the installation that I need to do, comes with Karaf 
Standard + Camel Core. But in time I will need to add some of the Camel 
features (I don’t know which one now). So I would like to have all Camel 
features and it’s dependencies in Cave.
How can I generate a repo with all Camel features ? is there any automatic way 
to do that ?

I’m using Karaf 4.0.8

Best regards
--
Mariusz Koprowski


Reply via email to