Document that deploy task accepts a URL as a repo name.
This commit is contained in:
parent
4df8ca6833
commit
f0c13af5df
2 changed files with 6 additions and 1 deletions
|
@ -190,6 +190,9 @@ You can also deploy arbitrary artifacts from disk:
|
|||
|
||||
$ lein deploy myrepo com.blueant/fancypants 1.0.1 fancypants.jar pom.xml
|
||||
|
||||
The repository can be defined in defproject or a profile, or it can be a URL.
|
||||
Use file://$HOME/.m2/repository to install in the local repo.
|
||||
|
||||
While this works with any arbitrary files on disk, downstream projects will not
|
||||
be able to depend on jars that are deployed without a pom."
|
||||
([project]
|
||||
|
|
|
@ -10,7 +10,9 @@
|
|||
(java.util UUID)))
|
||||
|
||||
(defn install
|
||||
"Install jar and pom to the local repository; typically ~/.m2."
|
||||
"Install jar and pom to the local repository; typically ~/.m2.
|
||||
|
||||
In order to install arbitrary files into a repository see the deploy task."
|
||||
[project]
|
||||
(when (not (or (:install-releases? project true)
|
||||
(pom/snapshot? project)))
|
||||
|
|
Loading…
Reference in a new issue