Eclipse Maven is blocked

I tried to use Maven on my company's computer. I use the same issue as in stackoverflow another question. I suppose it is the proxy issue. Does anyone know which link I need to ask security to put into white list to use Maven in eclipse?

Thanks Peter

1 answer

  • answered 2018-11-08 04:25 Duncan Krebs

    You need to set the proxy server in eclipse by going to preferences and setting the proxy server your company uses.

    enter image description here

    If you don't know your proxy server and are using windows run cmd as administrator and execute this command.

    netsh winhttp show proxy

    If you are using another OS Google is your friend, but you need to set the proxy server in network connections of preferences dialog located in windows -> preferences of eclipse and search for proxy.

    Another option is to set proxy in your home directory /.m2.settings.xml here is an exmaple https://www.mkyong.com/maven/how-to-enable-proxy-setting-in-maven/