-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clojure Collector: do not allow dependencies requiring an HTTP repository #3559
Comments
Hi @wheller - sounds like something has changed in the latest Leiningen to diverge from the assumptions in this repo. |
I suspected something had changed recently. But as you can see from that bug report, leningen isn't exactly friendly to newcomers trying to debug. |
Quoting the FAQ:
So we might have to add: (require 'cemerick.pomegranate.aether)
(cemerick.pomegranate.aether/register-wagon-factory!
"http" #(org.apache.maven.wagon.providers.http.HttpWagon.)) or find out which dependency transitively relies on an HTTP repo. |
Yeah I did read the FAQ too, but was discouraged at "If this happens it is strongly recommended to add an :exclusion and report a bug with the dependency which does this." and leningen leaving it up to you to figure out which one that is. |
Oh, and I'm planning on plugging this into a CI chain that will rebuild when someone makes a change to our repo, so charging ahead doing something under the category of "never do this" seemed... unwise. At least before asking for help. :-) |
Yes definitely, you might have some luck trying to update the dependencies as well, it might be worth a shot. |
Hi there, I found this issue via google while searching for solutions to the same problem. I eventually figured out a a way to track down transitive non-TLS deps using Maven. I wrote up the steps I used here: http://worace.works/2018/05/29/identify-non-https-transitive-leiningen-dependencies/. Would be happy if this helps anyone as I have been dealing with this issue for a while now. |
Interesting stuff, thanks 👍 |
I'm receiving an error about an insecure dependency when I try to execute
lein deps
Unfortunately, I'm not familiar enough with leiningen or Clojure to trace which dependency is responsible. Happy to help debug if someone can point me in the right direction, I started with leiningen itself but... technomancy/leiningen#2372
The text was updated successfully, but these errors were encountered: