hey dan, for that uc I am afraid the features service is not sufficient. I think it is best to directly take the aether libs.
kind regards, Andreas On Apr 5, 2011 5:32 AM, "Dan Tran" <dant...@gmail.com> wrote: > Hi Andreas, > > I just need to download any arbitrary artifact ( for example > mvn:commons-codec/commons-codec/1.4 ), to a specify directory under > karaf > > > On Mon, Apr 4, 2011 at 8:15 PM, Andreas Pieber <anpie...@gmail.com> wrote: >> Hey Dan, >> >> I assume you're looking for org.apache.karaf.features.FeaturesService >> [1]. Simply add the following to your blueprint file to use it: >> >> <reference id="featuresService" >> interface="org.apache.karaf.features.FeaturesService" /> >> >> Hope this helps and kind regards, >> Andreas >> >> [1] http://svn.apache.org/repos/asf/karaf/trunk/features/core/src/main/java/org/apache/karaf/features/FeaturesService.java >> >> On Tue, Apr 5, 2011 at 2:57 AM, Dan Tran <dant...@gmail.com> wrote: >>> Hi >>> >>> Karaf can download and install features with bundles using mvn:xxx >>> url. Does that interface ( service ) expose somewhere? so that I can >>> download a given maven artifact into karaf's local disk space, to be >>> processed later? >>> >>> Thanks for all the help. >>> >>> -Dan >>> >>