>>>>> Jean-Baptiste Onofré <[email protected]>: > You can change the update global policy in etc/org.ops4j.pax.url.mvn.cfg.
Ok, on karaf 4.1.2, I've now set the global update policy, and added a remote repo that contains snapshots: *** org.ops4j.pax.url.mvn.cfg 2017/08/18 13:58:10 1.1 --- org.ops4j.pax.url.mvn.cfg 2017/08/18 15:57:14 *************** *** 71,77 **** # Use the default local repo (e.g.~/.m2/repository) as a "remote" repo #org.ops4j.pax.url.mvn.defaultLocalRepoAsRemote=false ! #org.ops4j.pax.url.mvn.globalUpdatePolicy=always # # Comma separated list of repositories scanned when resolving an artifact. --- 71,77 ---- # Use the default local repo (e.g.~/.m2/repository) as a "remote" repo #org.ops4j.pax.url.mvn.defaultLocalRepoAsRemote=false ! org.ops4j.pax.url.mvn.globalUpdatePolicy=always # # Comma separated list of repositories scanned when resolving an artifact. *************** *** 91,96 **** --- 91,97 ---- # @id=repository.id : the id for the repository, just like in the settings.xml this is optional but recommended # org.ops4j.pax.url.mvn.repositories= \ + https://maven.bang.priv.no/repository@snapshots, \ http://artifactory.lampiris.be/remote-repos@snapshots, \ http://repo1.maven.org/maven2@id=central, \ http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, \ I've then done bundle:watch * But as far as I can see from the access log, karaf hasn't visited https://maven.bang.priv.no/repository yet. Is there something more I have to do?
