Clojure China

maven及clojars镜像

#1

http://lbp0200-maven.daoapp.io/

2赞
#2

貌似设置了没有改变URL啊。
设置后,重新运行命令 $ lein
输出:

Aug 19, 2016 8:55:15 AM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://clojars.org:443: Network is unreachable
Aug 19, 2016 8:55:15 AM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {s}->https://clojars.org:443
Could not find artifact com.android.support:multidex:aar:1.0.0 in central (https://repo1.maven.org/maven2/)
Could not find artifact com.android.support:multidex:aar:1.0.0 in clojars (https://clojars.org/repo/)
Could not find artifact com.android.support:multidex:aar:1.0.0 in android-support (file://extras/android/m2repository)
Could not find artifact com.android.support:multidex:aar:1.0.0 in android-play-services (file://extras/google/m2repository)
This could be due to a typo in :dependencies or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.
#3

同步速度多快的?

#4

貌似maven2官方服务器出错了,浏览器直接访问都是403.

第三方clojure文档访问速度
#5

是我的ip被maven封了

#6

是在windows下面吗?检查路径是否正确

#7

第二次下载可以满速

#8

是在Arch Linux下。

#9

Clojure/Lein 配置

vim ~/.lein/profiles.clj

{:user 
	{:mirrors 
		{
			"central" {:name "daocloud-lbp0200"	:url "http://lbp0200-maven.daoapp.io/maven2"}
        	"clojars" {:name "clojars-daocloud"	:url "http://lbp0200-maven.daoapp.io/repo"	:repo-manager true}
        }
	}
}

我刚才试了下,有缓存时,下载速度可以到8M,跑满公司的带宽。