I'm having trouble using local jars in my project. I've built the jars and 
installed them with localrepo.

wei:clj-opencv wei$ lein localrepo install opencv-249.jar opencv/opencv 
2.4.9
wei:clj-opencv wei$ lein localrepo install opencv-native-249.jar 
opencv/opencv-native 2.4.9

The jars show up in the local repo list.

wei:pv wei$ lein localrepo list | grep opencv
opencv/opencv-native (2.4.9)
opencv (2.4.9)

I then included opencv in my project.clj with [opencv/opencv "2.4.9"]. But 
leiningen can't find the jar when I run the project:

wei:pv wei$ lein run
Could not find artifact opencv:opencv:jar:2.4.9 in central 
(http://repo1.maven.org/maven2/)
Could not find artifact opencv:opencv:jar:2.4.9 in clojars 
(https://clojars.org/repo/)
Could not find artifact opencv:opencv:jar:2.4.9 in project (file:repo)
This could be due to a typo in :dependencies or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment 
variable.

I wonder if the problem is specific to opencv since I've used localrepo 
successfully for other jars. Any pointers would be appreciated.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to