Is it possible to use a lein template from a private repo? Where should I store the credentials for the private repo? Is there a way to tell lein to automatically fetch the latest version of the template from the private repo?
@viebel pretty sure this has been discussed in leiningen issues before. let’s see
hopefully @mikerod …
related https://github.com/technomancy/leiningen/issues/1785 ?
but looks like it was fixed in this case
not sure what your setup is for specifying these private repos?
I find it odd the solution seems to be to use the :user
~/lein/.profiles considering usually putting any :repositories
in there is a warning for non-reproducible builds, but in the case of templates there isn’t anything really better to look at
since there is no project yet
if that’s not it, perhaps somewhere in this https://github.com/technomancy/leiningen/issues?q=is%3Aissue+template+repository
Testing it…
I solved it by adding :plugin-repositories [["my-company" {:url "<https://maven.my-company.fun/releases>"}]]
to :user in profiles.clj
Thank you for your help @mikerod
@viebel nice, that’s what I was hoping would work - no prob