I use a local library to do some development, but the firewall prevents alot of internet sites. Is there a way to download artifacts manually?
My project.clj is:
https://github.com/zubairq/coils/blob/master/project.clj?
Update
From the comments given I am understanding that the steps to take are:
1) Install Maven
2) Find out which jars are in my project (How can I do this based on my project.clj?)
Dependency Tree
In order to figure out which jars your project needs you can do:
Which will show you something that is called a "dependency tree". It will look similar to:
Installing Jars with Lein
One simple way to install manually downloaded jars would be to use "lein-localrepo":
Here are a couple of examples (given that you have downloaded the jars):
Take a look at the documentation for more features and examples.
Installing lein-localrepo
You can install
lein-localrepo
as a plugin by adding the following to your~/.lein/profiles.clj
:Lein Behind a Proxy Server
In case it is "ok" to use a proxy server, you can add it to
~/.lein/profiles.clj
underjvm-opts
where
user
is a profile name to use.Or you can export
http_proxy
environment variable before launching lein.