On 24 Jul 2014 22:44, "thully" <[email protected]> wrote: > > I tried that, and it doesn't work. I have my system repository as the only > one listed in org.ops4j.pax.url.mvn.repositories and > org.ops4j.pax.url.mvn.defaultRepositories, and added > org.ops4j.pax.url.mvn.defaultLocalRepoAsRemote=false to the config file.
^ note that the instructions I posted say to comment this line out completely, because *any* setting of "defaultLocalRepoAsRemote" is treated as true by Pax-URL, and you'll get ~/.m2/repository added to your repo list. > Even then, the .m2 directory still gets populated with all my system files - > including Karaf core bundles. > > Any ideas? I know I could make my system repository the local repository, > though that is undesirable as I would still like to have bundles installed > in .m2 accessible to our project. That seemed to work fine in Karaf 2.2.11, > though apparently something has changed in 3.0.1. > > > > -- > View this message in context: http://karaf.922171.n3.nabble.com/Disabling-local-repository-creation-on-Karaf-3-tp4034426p4034431.html > Sent from the Karaf - User mailing list archive at Nabble.com.
