how about this:

new "install" commands
* bundle:update-snapshots
* features:update-snapshots

scan all bundle/features, find version ~ SNAPSHOT, pull updates from
remote maven repo

new "development" commands
* dev:update-bundle-snapshots
* dev:update-features-snapshots

invoke bundle/features update command periodically

-------- Original Message --------
Subject: Re: update snapshot dependency?
From: Jean-Baptiste Onofré <[email protected]>
To: [email protected]
Date: Mon 11 Feb 2013 01:51:00 PM CST
> Not "easy" as it depends to pax-url/aether. So it depends what we
> really want.
>
> Regards
> JB
>
> On 02/11/2013 08:13 PM, Andrei Pozolotin wrote:
>> should it be a standard option to dev:watch or feature:install?
>>
>> -------- Original Message --------
>> Subject: Re: update snapshot dependency?
>> From: Łukasz Dywicki <[email protected]>
>> To: [email protected]
>> Cc: Achim Nierbeck <[email protected]>
>> Date: Mon 11 Feb 2013 12:46:09 PM CST
>>> Use SSH task to connect Karaf and update necessary bundles. Dev:watch
>>> works only with local repository.
>>>
>>> Cheers,
>>> Lukasz
>>>
>>> Wiadomość napisana przez Andrei Pozolotin <[email protected]
>>> <mailto:[email protected]>> w dniu 11 lut 2013, o godz. 18:41:
>>>
>>>>     ***Achim:**
>>>>     ***
>>>>     thanks!
>>>>
>>>>     sorry I was not clear: I need to pick up change form jenkins.
>>>>
>>>>     Andrei
>>>>
>>>> -------- Original Message --------
>>>> Subject: Re: update snapshot dependency?
>>>> From: Achim Nierbeck <[email protected]>
>>>> To: [email protected]
>>>> Date: Mon 11 Feb 2013 11:14:10 AM CST
>>>>> Hi Andrei,
>>>>>
>>>>> very simple use
>>>>> dev:watch [bundle-id]
>>>>>
>>>>> it'll update your dependency instantly if the new module was placed
>>>>> in your local repo.
>>>>>
>>>>> regards, Achim
>>>>>
>>>>>
>>>>> 2013/2/11 Andrei Pozolotin <[email protected]
>>>>> <mailto:[email protected]>>
>>>>>
>>>>>         *Hello,*
>>>>>
>>>>>         I am curious what is the fastest/simplest generic way
>>>>>         to update snapshot dependency in running karaf w/o restart?
>>>>>
>>>>>         it seems difficulty arises from few sources:
>>>>>         * maven resolver in karaf does not check / does not pick up
>>>>>         new snapshot form nexus repo
>>>>>         * karaf/felix bundle loader does not see version change.
>>>>>
>>>>>         Thank you,
>>>>>
>>>>>         Andrei
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>>
>>>>> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>>>>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
>>>>> Committer & Project Lead
>>>>> OPS4J Pax for Vaadin
>>>>> <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter &
>>>>> Project Lead
>>>>> blog <http://notizblog.nierbeck.de/>
>>>>
>>>
>>
>

Reply via email to