Mention mvn invocation output in lein deps for non-hosted dependencies.
This commit is contained in:
parent
ffe50bafd0
commit
4a69976d25
1 changed files with 6 additions and 3 deletions
|
@ -117,9 +117,12 @@ file for a detailed listing of configuration options.
|
|||
"org.clojars.$USERNAME" in order to avoid conflicts and to allow the
|
||||
original authors to claim it in the future once they get around to
|
||||
uploading. Alternatively you can do a one-off install into your
|
||||
local repository in ~/.m2 with Maven for Java libs or <tt>lein
|
||||
install</tt> for Clojure libs, but this is cumbersome to coordinate
|
||||
across a team.
|
||||
local repository in ~/.m2 with Maven. Add a dependency to
|
||||
project.clj that doesn't exist in any remote repository and run
|
||||
<tt>lein deps</tt>, and the output will include the <tt>mvn</tt>
|
||||
invocation to do this. It's _much_ better to get the dependency in a
|
||||
remote repository for repeatability reasons though. For teams
|
||||
working on private projects [Hudson](http://hudson-ci.org/) works well.
|
||||
|
||||
**Q:** How do I write my own tasks?
|
||||
**A:** If it's a task that may be useful to more than just your
|
||||
|
|
Loading…
Reference in a new issue