I'm trying to use a java library (jar file) called DragonConsole that is not on maven central or clojars.
I want to import this library in my clojure application, but so far I can't figure out how to do so.
I tried setting up a local maven repo, but I don't think I did it right.
lein deps
gives me this error:
(Retrieving dragonconsole/dragonconsole/3.0.0/dragonconsole-3.0.0.pom from local)
(Could not transfer artifact dragonconsole:dragonconsole:pom:3.0.0 from/to local)
(file:/home/michael/clj/enclojed/maven_repository/): no supported algorithms found)
project.clj:
:dependencies [[org.clojure/clojure "1.6.0"]
[clojure-lanterna "0.9.4"]
[dragonconsole "3.0.0"]]
:repositories [["local" {:url ~(str (.toURI (java.io.File. "maven_repository")))}]]
project folder:
maven_repository/DragonConsolev3.jar
maven_repository/dragonconsole/dragonconsole/maven-metadata-local.xml
maven_repository/dragonconsole/dragonconsole/3.0.0/dragonconsole-3.0.0.pom
doc/...
src/...
test/...
resources/...
project.clj
If there's any other files you need to see, check the git page.