I have been trying to set up an Enterprise repository for our company using Archiva. While the installation was quite simple, I am now stuck at issue where the Archiva could not reach out to the Central Repository via our corporate proxy.
I did the following to setup the Proxy (Screen shots below)
- Added a Network Proxy via the Apache UI.
- Updated the ProxyConnector.
- Updated the configuration for Central repository
I still see the Remote Check fails.
Any insights?
I did double check the Proxy configuration and also used the same configuration with nexus SonaType and it works fine there.
I also made sure the NetworkProxy is in the archiva.xml file.
Updated: 06/16/2015
I updated the configuration to use https://repo.maven.apache.org/maven2 and also tried to use https and https for our network proxy.
Another thing I've noticed is that the Proxy Connector settings show "Network proxy : None" even though it is configured. (screen shots below)
ensure you configure network proxy protocol to http or https. You must also use https://repo.maven.apache.org/maven2 (note the https)