leiningen

jmv 2024-07-17T20:20:55.136269Z

does leiningen support custom auth headers? i am trying to use a new bearer auth scheme at our company. looking through the code the answer looks like no but i wanted to double check.

hifumi123 2024-07-18T18:14:39.000079Z

I use a Leiningen plugin so I can supply OAuth bearer tokens to a private Maven repository hosted on Codeberg. Never found a deps.edn equivalent so I think your only alternative is to use Maven directly

seancorfield 2024-07-17T20:26:35.895079Z

Is that something you could configure in ~/.m2/settings.xml for Maven? Maybe Leiningen supports that settings file? (the Clojure CLI supports at least some of those settings)

jmv 2024-07-17T20:28:20.347579Z

i don't think lein supports the settings.xml file unless there is some layer of indirection i am missing

jmv 2024-07-17T20:53:48.420129Z

this may be what finally moves me over to the cli crying-laughing-joy-blood