I have a lein project, if using lein2(lein2 deps), it gives me the 
following errors:

james:alitoolkit(git:master)$ lein deps
Could not find metadata 
com.alibaba.platform.shared:dubbo.rpc/maven-metadata.xml in local 
(/home/james/.m2/repository)
Could not find metadata 
com.alibaba.platform.shared:dubbo.remoting/maven-metadata.xml in local 
(/home/james/.m2/repository)
Could not find metadata 
com.alibaba.platform.shared:dubbo/maven-metadata.xml in local 
(/home/james/.m2/repository)
Could not find metadata 
com.alibaba.platform.shared:dubbo.core.api/maven-metadata.xml in local 
(/home/james/.m2/repository)
Could not find metadata 
com.alibaba.platform.shared:dubbo.core.common/maven-metadata.xml in local 
(/home/james/.m2/repository)
Could not find metadata 
com.alibaba.platform.shared:dubbo.core.registry.default/maven-metadata.xml 
in local (/home/james/.m2/repository)
Could not find metadata 
com.alibaba.platform.shared:dubbo.core.rpc/maven-metadata.xml in local 
(/home/james/.m2/repository)
Could not find metadata 
com.alibaba.platform.shared:dubbo.core.rpc.dbo/maven-metadata.xml in local 
(/home/james/.m2/repository)
Could not find metadata 
com.alibaba.platform.shared:dubbo.core.rpc.http/maven-metadata.xml in local 
(/home/james/.m2/repository)
Could not find metadata 
com.alibaba.platform.shared:dubbo.core.service/maven-metadata.xml in local 
(/home/james/.m2/repository)
Could not find metadata 
com.alibaba.platform.shared:dubbo.core.service.server/maven-metadata.xml in 
local (/home/james/.m2/repository)
Could not find metadata 
com.alibaba.platform.shared:dubbo.registry.client/maven-metadata.xml in 
local (/home/james/.m2/repository)
This could be due to a typo in :dependencies or network issues.
Could not resolve dependencies

but If I use lein1, it can resolve all the dependencies successfuly, 
com.alibaba.platform.shared:dubbo.* can only be found in the repositories 
specified in ~/.m2/settings.xml, so it seems that lein2 does not use 
~/.m2/settings.xml?

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to