[wsas-java-dev] How to increase the speed of an online build in a LAN with a HTTP Cache Proxy.

Deependra Ariyadewa deep at wso2.com
Sat Feb 10 04:24:28 PST 2007


How to increase the speed of an online build in a LAN with a HTTP cache
proxy.

With Maven 2.x :
-----------

Create settings.xml file in the /home/<user>/.m2 folder.

content of the settings.xml


<settings>
  <proxies>
   <proxy>
      <active>true</active>
      <protocol>http</protocol>
      <host>squid.example.com</host>
      <port>3128</port>
      <username>proxyuser</username>
      <password>somepassword</password>
      <nonProxyHosts>www.someplace.com|*.somewhere.com</nonProxyHosts> 
    </proxy>
  </proxies>
</settings>


With Maven 1.x :
---------------
Create build.properties file in the /home/<user>/ folder

Content of the build.properties file.

	maven.proxy.host=squid.example.com
	maven.proxy.port=3128

Thanks,

Deependra.

-- 
Deependra Ariyadewa
Senior Linux Systems Engineer; WSO2, Inc.; http://www.wso2.com/
email: deep at wso2.com; cell: +94 71 403 5996; fax: 0112424303

"Oxygenating the Web Service Platform."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://wso2.org/pipermail/wsas-java-dev/attachments/20070210/8a0036d0/attachment.pgp


More information about the Wsas-java-dev mailing list