We are working on a project with several Clojure -Java interop. At the moment, we have one class that has many dependencies that we put in the user library in Eclipse for development, but, of course, this does not help when using Leiningen (2.x). Most of our dependencies are property, so they are not located somewhere in the repository.
What is the easiest / right way to do this?
I saw leiningen - how to add dependencies for local cans? but it looks like it's out of date?
Update: So, I created a local maven repository for my jar, after these instructions and documents for deploying lein to github, and edited the project.clj file as follows:
:dependencies [[...]
[usc "0.1.0"]]
:repositories {"usc" "file://maven_repository"}
Where maven_repository is in the project directory (hence not used file:///). When I launched "lein deps" - I received this message:
Retrieving usc/usc/0.1.0/usc-0.1.0.pom from usc
Could not transfer artifact usc:usc:pom:0.1.0 from/to usc (file://maven_repository): no supported algorithms found
This could be due to a typo in :dependencies or network issues.
Could not resolve dependencies
What is meant by “lack of supported algorithms” and how to fix it?
Update2: Found last bit of response here .
source
share