The install task publishes to your local repo. Did you check
$HOME/.m2/repository to see if your helloworld library is there ?
You should find the jar and the pom.xml after running the install task.

Make sure the names are matching between your library POM and your
reference in your project.clj in the project that requires it :)

Luc P.


Seth <wbu...@gmail.com> wrote ..
> Im attempting a 'hello world' leiningen in which i install a simply
> hello world library using lein install and then i create a new
> project , hello2, which depends on that project. However, leiningen
> does not seem to look in the local maven repository for the
> dependencies so i get
> 
> 1) helloworld:helloworld:jar:.1
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=helloworld -
> DartifactId=helloworld -Dversion=.1 -Dpackaging=jar -Dfile=/path/to/
> file
> 
>   Alternatively, if you host your own repository you can deploy the
> file there:
>       mvn deploy:deploy-file -DgroupId=helloworld -
> DartifactId=helloworld -Dversion=.1 -Dpackaging=jar -Dfile=/path/to/
> file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency:
>       1) org.apache.maven:super-pom:jar:2.0
>       2) helloworld:helloworld:jar:.1
> 
> 
> 
> Is there any way to get lein to look at the local repository?
> 
> -- 
> 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 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

Reply via email to