In DEBUG mode, I see that SMX4 try to use the old maven location :

16:09:53,233 | DEBUG | FelixStartLevel  | Connection                       |
.pax.url.mvn.internal.Connection  257 | Collecting versions from repository
[file:/c:/.m2/repository/,releases=true,snapshots=true]

On Tue, Apr 28, 2009 at 4:14 PM, Charles Moulliard <[email protected]>wrote:

> I have restarted SMX4.
>
> To be sure that I can reach my maven repos using PAX url, i have tested the
> following syntax successfully :
>
> install -s mvn:
> file://cesar/share_docs/X3S/reposit...@snapshots@noreleases!org.apache.camel.example/reportincident.persistence/1.0-SNAPSHOT
>
>
> On Tue, Apr 28, 2009 at 4:02 PM, Guillaume Nodet <[email protected]> wrote:
>
>> Did you restart ServiceMix ?
>> The repository location is detected from the ~/.m2/settings.xml afaik
>> or the system property.  I don't think it is cached, but I think it's
>> only read / detected once.
>>
>> On Tue, Apr 28, 2009 at 15:59, Charles Moulliard <[email protected]>
>> wrote:
>> > Hi,
>> >
>> > I have moved my local maven repository from this location :
>> >
>> > c:\.m2\repository
>> >
>> > to this one
>> >
>> > \\cesar\shared\repository
>> >
>> > Everything works fine in maven but when I try to refresh my bundle in
>> SMX 4,
>> > it claims that it cannot find the jar to be updated.
>> >
>> > In the log, I see that SMX 4 tries to download the jar from my old maven
>> > location EVEN if change the parameter in the config file
>> > org.apache.Servicemix.mvn.cfg
>> >
>> > Is such information cached somewhere by SMX 4
>> >
>> > Regards
>> >
>> > Charles Moulliard
>> > Senior Enterprise Architect
>> > Apache Camel Committer
>> >
>> > ********************************
>> > blog : http://cmoulliard.blogspot.com
>> >
>>
>>
>>
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>> ------------------------
>> Open Source SOA
>> http://fusesource.com
>>
>
>

Reply via email to