bundleContext.installBundle("mvn://.....")?

or 
bundleContext.installBundle("wrap:mvn:....")?

(not sure which order the wrap and mvn go in)

if its just an artifact that you don't want treated as a bundle, I'm not sure 
what to do.

thanks
david jencks

On Apr 4, 2011, at 10:46 PM, Dan Tran wrote:

> I was hoping to to take advantage of the service that already aware of
> org.ops4j.pax.url.mvn.cfg
> 
> -Dan
> 
> On Mon, Apr 4, 2011 at 10:35 PM, Andreas Pieber <anpie...@gmail.com> wrote:
>> 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
>>>>> 
>>>> 
>> 

Reply via email to