clojure - How to configure leiningen's maven usage? -


my problem leiningen not working on computer. errors these:

could not transfer artifact lein-ring:lein-ring:pom:0.4.5 from/to central (http://repo1.maven.org/maven2): connection http://repo1.maven.org r not transfer artifact lein-ring:lein-ring:pom:0.4.5 from/to clojars (https://clojars.org/repo/): connection https://clojars.org refused 

i think problem have mirror configured in settings.xml of maven installation. how can tell leiningen use embedded maven or other maven installation not have custom configuration?

i'm using maven other java projects , conflicts somehow leiningen.

you can add mirror definitions project.clj or, better in case, ~/.lein/profiles.clj

details in leiningen sample project.clj

but here's key bit:

:mirrors {"central" {:name "ibiblio"                      :url "http://mirrors.ibiblio.org/pub/mirrors/maven2"}           #"clojars" {:name "internal nexus"                      :url "http://mvn.local/nexus/releases"                      :repo-manager true}} 

Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -