> Each feature corresponds to a group of bundles or reference to another > feature. If you don't have access to internet, you need to have local copy > (in maven repository, folders, ...) of the bundles = jar. These jars can be > installed without using features command but this one in osgi shell
If you've managed to copy over a pre-populated local maven repo onto the isolated server, then you can simply instruct pax-url to pick up the mvn:groupId:artefactId/version URLs from the local maven repo by setting the org.ops4j.pax.url.mvn.localRepository config item in the <smx-install>/etc/org.ops4j.pax.url.mvn.cfg file. Similarly you can supress the attempt to reference remote maven repos by commenting out the org.ops4j.pax.url.mvn.repositories config in the same file. That way, I think the entire feature can still be installed via feature/install, instead of via individual osgi/install commands for each bundle in the feature and any other features it embeds. Some way of externalizing the set of bundles comprising a feature would be nice though. Cheers, Eoghan 2009/6/25 Charles Moulliard <[email protected]> > Hi Vincent, > > The feature file is a XML file describing the bundle(s) to be installed. > Each feature corresponds to a group of bundles or reference to another > feature. If you don't have access to internet, you need to have local copy > (in maven repository, folders, ...) of the bundles = jar. These jars can be > installed without using features command but this one in osgi shell > > install -s file:///folder/where/the/jar/is > > or if you have a maven local repo > > install -s mvn:org.apache.camel/camel-core/2.0-SNAPSHOT > > Regards, > > Charles Moulliard > Senior Enterprise Architect > Apache Camel Committer > > ***************************** > blog : http://cmoulliard.blogspot.com > > > On Thu, Jun 25, 2009 at 11:57 AM, TheWinch < > [email protected]> wrote: > > > > > Hello all, > > > > Excuse me if my question seems silly but I'm starting with SMX4. > > > > I have a (Linux) server with SMX4.0.0, bnut it has no access to the > > Internet. How can I install new features ? If I type for example > > features/install cxf-osgi, it will fail because maven cannot access > > Internet. > > > > By the way, what is the difference between features and bundles ? I have > > read the doc in Karaf web site but it did not help me much. > > > > Thanks ! > > -- > > View this message in context: > > > http://www.nabble.com/SMX4---installing-features-without-internet-access---tp24200345p24200345.html > > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > > > >
