-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.clj
More file actions
44 lines (36 loc) · 1.89 KB
/
project.clj
File metadata and controls
44 lines (36 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
;; re-enables http repository support in Leiningen 2.8
(require 'cemerick.pomegranate.aether)
(cemerick.pomegranate.aether/register-wagon-factory!
"http" #(org.apache.maven.wagon.providers.http.HttpWagon.))
(defproject deeto "0.1.1-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:java-source-paths ["java/test" "java/src"]
:target-path "target/%s"
:aot [deeto.java-api
deeto.core]
:dependencies [[org.clojure/clojure "1.8.0"]]
:plugins [[lein-swank "1.4.5"]]
:aliases {"deploy" ["do" "clean," "deploy"]}
:release-tasks [["test"]
["vcs" "assert-committed"]
["change" "version"
"leiningen.release/bump-version" "release"]
["vcs" "commit"]
["vcs" "tag" "--no-sign"]
#_ ["deploy"]
["change" "version" "leiningen.release/bump-version"]
["vcs" "commit"]
#_ ["deploy"]
#_ ["vcs" "push"]]
:profiles {;; run a local Nexus in a docker container with:
;; docker run -d -p 8081:8081 --name nexus sonatype/nexus:oss
;;
;; Then you can deploy a SNAPSHOT or release via
;; lein with-profile +local deploy
:local {:repositories [["snapshots" {:url "http://localhost:8081/nexus/content/repositories/snapshots/"
:sign-releases false :username "admin" :password "admin123"}]
["releases" {:url "http://localhost:8081/nexus/content/repositories/releases/"
:sign-releases false :username "admin" :password "admin123"}]]}})