Fork me on GitHub
Yehonathan Sharvit06:06:43

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


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

Yehonathan Sharvit15:06:33

I solved it by adding :plugin-repositories [["my-company" {:url ""}]] to :user in profiles.clj

Yehonathan Sharvit15:06:42

Thank you for your help @mikerod


@viebel nice, that’s what I was hoping would work - no prob