Link to home
Create AccountLog in
Avatar of Sathish David  Kumar N
Sathish David Kumar NFlag for India

asked on

how to configure auto proxy to setting.xml in maven

how to configure auto proxy to setting.xml in maven.



when you not configure any proxy and use auto configuration setting
Avatar of girionis
girionis
Flag of Greece image

You have to add a proxy element:

<proxies>
   <proxy>
      <id>example-proxy</id>
      <active>true</active>
      <protocol>http</protocol>
      <host>proxy.example.com</host>
      <port>8080</port>
      <username>proxyuser</username>
      <password>somepassword</password>
      <nonProxyHosts>www.google.com|*.example.com</nonProxyHosts>
    </proxy>
  </proxies>

Open in new window


For more info have a look here.
Avatar of Sathish David  Kumar N

ASKER

this is for proxy setting ...

but if you use automatically detect setting ? what would be the entry ?
ASKER CERTIFIED SOLUTION
Avatar of girionis
girionis
Flag of Greece image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account