You can't completely remove the defaultRepositories because it's where you have the system folder containing some core bundles.
Do you have all bundles from system folder in your .m2 ? Do you have localRepository defined ? If yes, is it different from your .m2/repository ? Anyway, by default, Karaf systematically checks your .m2/repository for new SNAPSHOT (it's what we use in the bundle watcher for instance). Do you have globalUpdatePolicy and globalChecksumPolicy defined ? Regards JB On 22/03/2019 10:05, Matthias Leinweber wrote: > Hello Karaf Team, > > > i have the following situation: > I am building a karaf assambly (4.2.4) (during development .. snapshot > versions) and i can not update bundles from my local m2 repo. > If i completely disable org.ops4j.pax.url.mvn.defaultRepositories > (everything should be installed from my local .m2 repo) the update > functionality works. > > Where is my mistake? Where do i configure to look into my local .m2 if > a snapshot version is present in my karaf internal repos? > > > best regards > > Matthias > -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
