I'm using Leiningen 2 and am struggling to get it to recognize the local repository ($HOME/.m2)
I'm trying to use the storm-rdbms(storm-contrib) which is not on clojar
Here are the steps I've taken:
- Using the lein-localrepo plugin, installed storm-rdbms under the .m2 local repository
The pom.xml shows this:
<groupId>storm-rdbms</groupId> <artifactId>storm-rdbms</artifactId> <versioning> <versions> <version>0.1-SNAPSHOT</version> </versions> <lastUpdated>20130214173431</lastUpdated> </versioning>
my project.clj file :
:dependencies [[org.clojure/clojure "1.4.0"] [storm "0.8.2"] [storm-rdbms "0.1-SNAPSHOT"]] :plugins [[lein-localrepo "0.4.1"]] :repositories {"local" ~(str (.toURI (java.io.File. "~/.m2")))})
I run lein deps:
Could not find artifact storm-rdbms:storm-rdbms:jar:0.1-SNAPSHOT This could be due to a typo in :dependencies or network issues. Could not resolve dependencies
I've tried this with Maven as well, but Maven 3 is not even able to install the jar when following the directions from here.
Please shed some light on what I'm doing wrong here. Thanks so much!