Fork me on GitHub
#tools-deps
<
2019-10-31
>
maxp05:10:09

Is usage of "RELEASE" / "LATEST" in :mvn/version documented somewhere?

seancorfield05:10:28

@maxp They are not really recommended.

seancorfield05:10:19

They are not supported in Maven 3, I believe. They are only available in Maven 2 based tools.

seancorfield05:10:23

RELEASE means the most recent non-snapshot release, so it can be an alpha, for example, or a "gold" version. LATEST means the most recent -SNAPSHOT release which can change frequently.

seancorfield05:10:21

That said, I use RELEASE for dev-only tooling, as a "convenience" for it always being up-to-date but with the caveat that it could of course break any day. I never use LATEST.

maxp06:10:04

@seancorfield - yes. Thank you/

Drew Verlee16:10:53

Its possible to specify multiple deps files and have later ones override earlier ones right?

Alex Miller (Clojure team)16:10:25

there are multiple deps files that override, but that is not an open set

Alex Miller (Clojure team)16:10:40

the deps chain is: install deps.edn (now a resource in tools.deps.alpha), user deps.edn (~/.clojure/deps.edn), project deps.edn, -Sdeps

Alex Miller (Clojure team)16:10:29

if you're using tools.deps directly, you can of course do whatever you like

Alex Miller (Clojure team)16:10:42

it has tools for loading and merging deps.edn files

Drew Verlee16:10:41

so if you want to override a project dep it would be something like "-Sdeps {:aliases {:foo {:override-deps ...}}} -A:foo"

Alex Miller (Clojure team)17:10:11

you don't need an alias for that

Alex Miller (Clojure team)17:10:38

can just -Sdeps '{:deps {the/lib {:mvn/version "whatever"}}}'

Alex Miller (Clojure team)17:10:10

you can do what you said too though