How to configure Eclipse to run with a proxy connection

First you have to

configure eclipse :

go to menu --> windows --> preferences

select General --> network connection

configure the proxy manally on this preference. 

configure maven

go to .m2/settings.xml.

Add the following:

<proxies>
   <proxy>
      <active>true</active>
      <protocol>http</protocol>
      <host>192.168.235.40</host>
      <port>80</port>
    </proxy>
  </proxies>

 

Network configuration

you may also, under Windows, configure the LAN network (http://answers.oreilly.com/topic/675-how-to-configure-proxy-settings-in-windows-7/ )