James Xu writes:

> Thanks! But it sounds odd to me that lein does not use ~/.m2/settings.xml,
> why this decision?

Leiningen never explicitly supported settings.xml; it was checked by
accident as an implementation detail due to lein1 using maven-ant-tasks
rather than Aether. But the better answer is that Leiningen isn't Maven,
and supporting some subset of settings.xml without supporting all of it
is confusing.

> Just wondering; if you want to specify an internal nexus repo in one place,
> can you specify it in ~/.lein/profiles.clj ?

It's possible, but highly discouraged. If your project requires certain
repositories in order to operate, you should declare them in project.clj.

Specifying authentication for private repos in the user profile, on the
other hand, is highly recommended.

-Phil

-- 
-- 
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