Fork me on GitHub
Aaron Cummings17:09:14

Does there exist a tool like Mr. Anderson (dependency shading) for tools-deps?


I haven't actually used Mr. Anderson, but am aware of it and why someone might want to use it. Is Mr. Anderson in any way currently tied to Leiningen?

Aaron Cummings18:09:19

It is a leiningen plugin, but it looks like it could be used directly. But I'm having trouble describing what I'm trying to accomplish, which maybe means I'm reaching for the wrong thing. I'll need to think about this some more.


I have never done this before, but the Mr. Anderson project README has a brief note and a pointer to this repository, which seems to use Mr. Anderson in a way that doesn't require Leiningen:


it does use it as a library there

Aaron Cummings00:09:55

I'll take a look at that, thanks.


I am wondering why I’m getting

shadow-cljs - starting via "clojure"
Cloning: [email protected]:omnypay/amplitude.git
Error building classpath. [email protected]:omnypay/amplitude.git: USERAUTH fail
org.eclipse.jgit.api.errors.TransportException: [email protected]:omnypay/amplitude.git: USERAUTH fail
(Full stacktrace at This happens if I have the following in my .ssh/config:
  User git
  Port 22
  IdentityFile ~/.ssh/github.rsa
  AddKeysToAgent yes
  TCPKeepAlive yes
  IdentitiesOnly yes

Host *
  User myname
  Port 22
  IdentityFile ~/.ssh/id_rsa
  AddKeysToAgent yes
  TCPKeepAlive yes
  IdentitiesOnly yes
All my regular git activity works fine with this, and it seems I need this for macOS automatic key loading to work If I remove the Host * entry the clojure tools git loading works fine. I presume this is a jgit issue but I’m wondering if there is a way to make this work as I’m expecting or if I’m expecting wrong. The Maven issues talk about setting to useNativeGit=true but I don’t know if there is a way to do it with the clojure tools I had this problem once before and removed the offending config stuff, but I would like to figure out how to make this work with this or equivalent ssh config if possible.


IdentityFile is the problem I believe, based on discussions I've seen here...


But @alexmiller can give you a more authoritative answer...

Alex Miller (Clojure team)20:09:58

that's definitely where I'd start (by removing that)

Alex Miller (Clojure team)20:09:09

since it looks like you are using a different github key, I'm not sure of the right combination of things to make it work. you might need to add that key with ssh-add