I'm not familiar with maven much, so if I wanted to use clojure's latest commit in my project, I'd use mvn -Plocal -Dmaven.test.skip=true package, right? and then how would I reference it in my deps.edn file?
if you have a local jar somewhere just as you would use any other jar
"why do you want to do this?" i'm toying with running clojure nightly against a bunch of different libraries to see what breaks
org.clojure/clojure {:local/root "path-to-clojure.jar"}
oh wow, that easy? that's nice
clojure is just another jar on the classpath
the clojure cli will give you a default or use whatever you specify
i thought :local/root looked for a pom or deps.edn file
jk if i read directly below, it says it looks for jars too
๐
that's sick as hell, thank you
i think itโs whatever deps.edn kinda understands. other deps.edn projects, a folder with a pom, or a jar (which is basically a zip file with a pom)
Not sure if this is obvious now but you shouldnโt need the -Plocal jar build, just the Clojure jar from the normal mvn package contains a pom that depends on spec etc, and the CLI should pull that out of the jar