Is there any reason not to set up a repo such as Nexus to make your life much better?

Ron

On 28/02/2014 2:12 PM, Mahmood Naderan 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 <[email protected]> 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 <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]


--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to