This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-05-09
Channels
- # babashka (176)
- # beginners (26)
- # cider (1)
- # cljsrn (3)
- # clojure (60)
- # clojure-australia (3)
- # clojure-europe (8)
- # clojure-uk (3)
- # clojurescript (1)
- # code-reviews (4)
- # community-development (3)
- # cursive (6)
- # depstar (1)
- # emacs (11)
- # figwheel (3)
- # helix (13)
- # integrant (2)
- # jackdaw (1)
- # kaocha (1)
- # leiningen (3)
- # luminus (2)
- # malli (4)
- # music (1)
- # nrepl (2)
- # off-topic (1)
- # practicalli (3)
- # reitit (3)
- # shadow-cljs (16)
- # slack-help (14)
- # sql (13)
- # vim (12)
Hi, Configuration question: Is there a way to configure Maven repository credentials on a developer machine that would work for both Lein and anything else running maven? Or do I have to configure those separately?
I think they both use the ~/.m2/settings.xml ?
I don't think Leiningen has used settings.xml for anything for ages. Currently Leiningen manages repositories with passwords mainly through environment variables (see eg. https://github.com/technomancy/leiningen/blob/96df207264637a7a064fe53b830a0e03dcbe6a2c/doc/DEPLOY.md#credentials-in-the-environment) so you could reuse the env vars in your settings.xml as well (see https://medium.com/@clarkbw/environment-variables-for-maven-settings-8280d8a809f9)