I am using default org.ops4j.pax.url.mvn.cfg file comes with karaf 3.0.0.
But i am facing lot of problems like, .m2 directory is created in user home
directory with all the bundles available there.

And if i update the bundles, bundle is not actually updating, if i replace
in system directory, it stills takes bundle from .m2 directory.

How can i configure to use only system directory as repository?

I would like to avoid creating .m2 directory and i would like not to refer
any remote repo.

org.ops4j.pax.url.mvn.useFallbackRepositories=false

org.ops4j.pax.url.mvn.defaultLocalRepoAsRemote=false

org.ops4j.pax.url.mvn.repositories= \
    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,
\
    file:${karaf.home}/${karaf.default.repository}@id=system.repository, \
    file:${karaf.data}/kar@id=kar.repository@multi

Reply via email to