Thank you all for the tips. Indeed in my case I can simply remove all repositories
org.ops4j.pax.url.mvn.repositories= and this works very well to avoid any remote lookups. - Martin PS: Still baffling that "org.ops4j.pax.url.mvn.globalUpdatePolicy" has had no effect. Guillaume Nodet-2 wrote > Well, disabling snapshot repositories as indicated by JB should work. > The default list looks like (in etc/org.ops4j.pax.url.mvn.cfg): > > http://repo1.maven.org/maven2@id=central, > http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, > http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external, > http://zodiac.springsource.com/maven/bundles/release@id=gemini, > http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases, > https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases, > https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases, > http://repository.springsource.com/maven/bundles/external@id=spring-ebr-repository@snapshots@noreleases > > So go for something like > > http://repo1.maven.org/maven2@id=central, > http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, > http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external, > http://zodiac.springsource.com/maven/bundles/release@id=gemini > > > Or maybe even > > http://repo1.maven.org/maven2@id=central > > Cheers, > Guillaume > > 2016-09-16 11:35 GMT+02:00 Markus Rathgeb < > maggu2810@ > >: > >> Hi, >> >> I assume he wants to configure the local repository as the only one that >> provides snapshots. So snapshots from .m2 are used, but no lookup for >> newer >> remote provided versions is done. -- View this message in context: http://karaf.922171.n3.nabble.com/How-t-configure-Karaf-to-not-look-for-newest-SNAPSHOTs-tp4048075p4048085.html Sent from the Karaf - User mailing list archive at Nabble.com.
