leiningen

N.B. The maintainers are on #leiningen on Libera chat IRC. Go there for direct support/bug reports.
Itay 2021-05-09T08:13:18.097600Z

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?

alexmiller 2021-05-09T14:14:39.098500Z

I think they both use the ~/.m2/settings.xml ?

eskos 2021-05-09T16:14:23.100200Z

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)