This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-30
Channels
- # admin-announcements (1)
- # announcements (1)
- # babashka (8)
- # bristol-clojurians (1)
- # calva (36)
- # clojure (115)
- # clojure-europe (5)
- # clojure-italy (4)
- # clojure-nl (3)
- # clojure-norway (3)
- # clojure-uk (161)
- # clojuredesign-podcast (3)
- # clojurescript (71)
- # core-async (34)
- # cursive (26)
- # datomic (43)
- # docker (2)
- # emacs (24)
- # figwheel-main (1)
- # fulcro (36)
- # graalvm (7)
- # immutant (2)
- # jackdaw (1)
- # jobs (2)
- # leiningen (8)
- # luminus (5)
- # off-topic (29)
- # onyx (1)
- # other-languages (5)
- # pathom (6)
- # pedestal (3)
- # reagent (11)
- # ring (8)
- # shadow-cljs (42)
- # spacemacs (17)
- # specter (6)
- # tools-deps (80)
- # videos (1)
hey all, for some artifact caching i would like to control the .m2
maven repository path. normally this would be done by setting something like MAVEN_OPTS="-Dmave.repo.local=/tmp/.m2"
, but this doesn't seem to be propagated within lein.
what is the way i can control this?
You can use :local-repo in your project.clj
i would like to avoid having to create a file or edit a project.clj for this, so that I can just pass it through environment variables in my CI system
may be changing too much but there is LEIN_HOME
: https://github.com/technomancy/leiningen/blob/master/sample.project.clj#L523
https://github.com/technomancy/leiningen/blob/master/sample.project.clj#L145 @lmergen
@lmergen have you tried setting MAVEN_HOME
in the process environment?