Created
March 18, 2015 02:15
-
-
Save xpe/ee8add819d591c41cf4f to your computer and use it in GitHub Desktop.
Example Artifactory project.clj for Leiningen 2.5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; To deploy to a hosted Artifactory server: | |
(defproject project-name "0.1.0-SNAPSHOT" | |
;; ... | |
:deploy-repositories | |
[["releases" | |
{:url "http://org-name.artifactoryonline.com/org-name/libs-releases-local" | |
:username :env/artifactory_user | |
:password :env/artifactory_pass}] | |
["snapshots" | |
{:url "http://org-name.artifactoryonline.com/org-name/libs-snapshots-local/" | |
:username :env/artifactory_user | |
:password :env/artifactory_pass}]] | |
;; ... | |
:profiles {:dev {:source-paths ["dev"]}}) | |
;; Notes / Gotcha! | |
;; * Use :password not :passphrase | |
;; * :deploy-repositories must be a vector of vectors | |
;; Read this: | |
;; https://github.com/technomancy/leiningen/blob/master/doc/DEPLOY.md |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment