IIRC, if you remove all repositories from the
org.ops4j.pax.url,mvn.repositories, it will use its default list.
Try to set if a value such as
file:${karaf.home}/${karaf.default.repository}@snapshots which will
point to the system folder.On Thu, Dec 15, 2011 at 23:48, Calvert, Zach (Zach)** CTR ** <[email protected]> wrote: > I'm working on a ServiceMix stack and want to lock it down such that the only > repositories it will look for jars is in the local repository. I have > configured the org.ops4j.pax.url.mvn.cfg file to have an empty value for > org.ops4j.pax.url.mvn.repositories, yet it still downloads. > > Sadly, my google fu isn't strong enough to find the solution as mvn|maven > returns all kinds of build queries and questions, and downloads|downloading > gives me all kinds of nice info on downloading servicemix, but not how to > lock down the maven consumption. > > We did find > http://fusesource.com/docs/esb/4.4/esb_deploy_osgi/Locate-RunTime.html, but > we still get downloads after making the above configuration. I ran tcpdump > after removing the data directory and then re-start servicemix, and then I > get download activity like > GET > /content/groups/pax-runner/org/springframework/spring-context-support/3.0.5.RELEASE/spring-context-support-3.0.5.RELEASE.jar > > The only two properties I have configured in > org.ops4j.pax.url.mvn.repositories are > org.ops4j.pax.url.mvn.defaultRepositories=file:${karaf.home}/${karaf.default.repository}@snapshots > org.ops4j.pax.url.mvn.repositories= > > I am using Apache ServiceMix 4.3.0 on a CentOS machine. > > Any and all help would be greatly appreciated. > > > > Happy Holidays and thanks for the help, > Zach Calvert -- ------------------------ Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com
