As before, details of the settings.xml file is already documented - pay attention to the "Tip": https://maven.apache.org/settings.html#Quick_Overview
As for SOCKS, there is some discussion on this subject at StackOverflow: https://stackoverflow.com/questions/1251192/how-do-i-use-maven-through-a-proxy (You may notice a pattern here -- this is all documented online, you just need to search for it......... hint hint.) Wayne On Fri, Feb 28, 2014 at 1:12 PM, Mahmood Naderan <nt_mahm...@yahoo.com> wrote: > OK. According to the manual: > > please ensure your settings.xml file (usually > ${user.home}/.m2/settings.xml) is secured with permissions appropriate > for your operating system). > > There is no settings.xml in ~/.m2/ > I only see ~/.m2/repository/ > > Also, I want to know is it possible to use SOCKS5? The example states: > > > <settings> . . <proxies> <proxy> <active>true</active> > <protocol>http</protocol> <host>proxy.somewhere.com</host> <port>8080</port> > <username>proxyuser</username> <password>somepassword</password> > <nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts> </proxy> > </proxies> . . > </settings> > > So if I want to use SOCKS5, I have to use <protocol>socks5</protocol>. Is > that right? > > > > > Regards, > Mahmood > > > > On Friday, February 28, 2014 10:37 PM, Wayne Fay <wayne...@gmail.com> wrote: > > Yes, and this is well documented on the Maven site. > > Search with Google, Yahoo, Bing, etc with the following terms: > maven proxy configure > > Wayne > > > On Fri, Feb 28, 2014 at 12:46 PM, Mahmood Naderan <nt_mahm...@yahoo.com> > wrote: >> Hi >> >> I run "mvn install" to build YCSB. In the middle of the compilation, it >> connects to clojars.org. >> Right now we have some network problems. Is it possible to tell mvn to use a >> proxy server IP:PORT for connecting to clojars? >> >> Regards, >> Mahmood > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org