Hi Gerald,

There are two things here:

1. You can have org.ops4j.pax.url.mvn.repository empty in
etc/org.ops4j.pax.url.mvn.cfg. Then, Karaf won't use any remove
repositories and will look for artifacts in first user .m2/repository
folder and system folder.

2. In your case, if you have error like the artifacts can be resolved,
that's because they are not located in the system folder.
You can populate the system folder by hand or, if you create your own
custom distribution, you have to specify the <installedFeature/>.

Regards
JB

On 02/02/2020 14:06, Gerald Kallas wrote:
> Dear community,
> 
> I did setup a docker container for Camel/Karaf based on a pre-configured 
> runtime. Finally I want to instantiate the container  system with no internet 
> access.
> 
> I'm getting a lot of maven connectivity errors at startup depite all features 
> are installed and working.
> 
> Ho can I disable the maven remote access properly?
> 
> Many thanks for any hints.
> 
> Best
> - Gerald
> 

-- 
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to