Avatar of Sathish David  Kumar N
Sathish David Kumar N
Flag 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
Java* Maven* Proxy bypassJava EE* Spring

Avatar of undefined
Last Comment
girionis

8/22/2022 - Mon
girionis

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.
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
girionis

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes