December 14, 2012

Configuring a proxy for maven

0  comments

To use a proxy for your maven builds just a this to your ~/.m2/settings.xml:


  .
  .
  
    
      http
      true
      http
      username
      secret
      your.fancy.proxy.com
      4221
      local.net|some.host.com
    
    
      https
      true
      https
      username
      secret
      your.fancy.proxy.com
      4221
      local.net|some.host.com
    
  
.
.

See also the guide to using proxies in the maven documentation.


Tags

http, https, maven, proxy


You may also like

Leave a Reply

Your email address will not be published. Required fields are marked

Information about Data protection

This site uses Akismet to reduce spam. Learn how your comment data is processed.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}