Skip to content

Instantly share code, notes, and snippets.

@pdkovacs
Created August 20, 2017 11:22
Show Gist options
  • Save pdkovacs/08cdfceb7df202d3b9d543d428597064 to your computer and use it in GitHub Desktop.
Save pdkovacs/08cdfceb7df202d3b9d543d428597064 to your computer and use it in GitHub Desktop.
Global (clojure) leiningen profile
{:repositories [["java.net" "http://download.java.net/maven/2"]
["sonatype" {:url "http://oss.sonatype.org/content/repositories/releases"
;; If a repository contains releases only setting
;; :snapshots to false will speed up dependencies.
:snapshots false
;; Disable signing releases deployed to this repo.
;; (Not recommended.)
:sign-releases false
;; You can also set the policies for how to handle
;; :checksum failures to :fail, :warn, or :ignore.
:checksum :fail
;; How often should this repository be checked for
;; snapshot updates? (:daily, :always, or :never)
:update :always
;; You can also apply them to releases only:
:releases {:checksum :fail :update :always}}]
;; Repositories named "snapshots" and "releases" automatically
;; have their :snapshots and :releases disabled as appropriate.
;; Credentials for repositories should *not* be stored
;; in project.clj but in ~/.lein/credentials.clj.gpg instead,
;; see `lein help deploying` under "Authentication".
["snapshots" "http://blueant.com/archiva/snapshots"]
["releases" {:url "http://blueant.com/archiva/internal"
;; Using :env as a value here will cause an
;; environment variable to be used based on
;; the key; in this case LEIN_PASSWORD.
:username "milgrim" :password :env}]]
:user {:jvm-opts ^:replace ["-Xmx4096M"]
:plugins [[cider/cider-nrepl "0.15.0"]
[refactor-nrepl "2.3.1"]]
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/tools.nrepl "0.2.13"]]
:mirrors {"central" {:name "central"
:url "http://mirrors.ibiblio.org/pub/mirrors/maven2"}
#"clojars" {:name "Internal nexus"
:url "file:///Users/pkovacs/.m2/repository"
:repo-manager true}}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment