Last active
December 15, 2015 08:08
-
-
Save ithayer/5228213 to your computer and use it in GitHub Desktop.
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
;; In project.clj | |
:plugins [[s3-wagon-private "1.1.2"]] | |
:repositories {"private" {:url "s3p://mybucket/releases/" | |
:passphrase :env | |
:username :env}} | |
;; Gotcha 1: Using :creds :env didn't seem to work for me. | |
;; Gotcha 2: Using a location of just s3p://mybucket didn't | |
;; seem to work, the releases/ directory is needed. |
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
;; Before running lein deps | |
export LEIN_USERNAME=... | |
export LEIN_PASSPHRASE=... |
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
;; Install a JAR | |
mvn deploy:deploy-file | |
-Dfile=keyczar-0.71f-readyforzero-build.jar | |
-DgroupId=org.keyczar | |
-Dversion=0.71f-readyforzero-build | |
-DartifactId=keyczar | |
-Dpackaging=jar | |
-Dmaven.repo.local=/tmp/maven-repo | |
-DcreateChecksum | |
-Durl=file:/tmp/maven-repo | |
;; Gotcha 3: Need to use deploy-file instead of install-file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment