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] Mobile: +351 916968984 Phone: +351 211933149 Web: www.exploitsys.com On Mon, Aug 21, 2017 at 11:25 AM, Mariusz Koprowski < [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* > > >
