Last active
February 5, 2016 17:01
-
-
Save tolitius/86dded54080cd0b7527c to your computer and use it in GitHub Desktop.
ubermain + push
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
(deftask build [] | |
(comp | |
(pom) ;; <<< names the file correctly + no need for --file in "(ubermain)" or "(push)" | |
(ubermain) | |
(sift :include #{#"stream-on.*.jar$"}) | |
(target))) | |
(deftask deploy-snapshot [] | |
(comp | |
(build) | |
(push :ensure-snapshot true | |
:repo-map {:url "../artifactory/..snapshots" | |
:password "..." | |
:username "..."}))) |
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
$ boot deploy-snapshot (master ✱) | |
Writing pom.xml and pom.properties... | |
Adding uberjar entries... | |
Performing substitutions on adzerk/MainSploder.java | |
Compiling 1 Java source files... | |
Writing stream-on-0.1.0-SNAPSHOT.jar... | |
Sifting output files... | |
Writing target dir(s)... | |
Deploying stream-on-0.1.0-SNAPSHOT.jar... | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment