This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-08
Channels
- # aleph (9)
- # announcements (42)
- # babashka (13)
- # babashka-sci-dev (9)
- # beginners (38)
- # biff (1)
- # calva (4)
- # cider (5)
- # clj-kondo (39)
- # cljdoc (4)
- # cljsrn (3)
- # clojure (93)
- # clojure-bay-area (1)
- # clojure-czech (1)
- # clojure-dev (4)
- # clojure-europe (65)
- # clojure-finland (3)
- # clojure-nl (2)
- # clojure-norway (7)
- # clojure-portugal (1)
- # clojure-uk (2)
- # clojurescript (73)
- # cloverage (1)
- # cursive (5)
- # data-science (1)
- # datahike (22)
- # emacs (51)
- # graalvm (6)
- # introduce-yourself (8)
- # jobs-discuss (14)
- # kaocha (6)
- # mount (5)
- # nbb (19)
- # off-topic (19)
- # reagent (5)
- # releases (1)
- # sci (19)
- # scittle (4)
- # shadow-cljs (6)
- # tools-deps (9)
- # xtdb (2)
I”d like to add a Maven *-tests.jar
to my deps.edn
and have tools.deps transitively bring in dependencies. From what I can tell, the maven group and artifact IDs for the *-tests.jar
are the same as the real jar. I can’t find a way to express a dependency maven scope within deps.edn
. I’m sure this question has come up before but my google skills are failing me.
"scopes" are not supported in t.d.a but "classifiers" are: https://clojure.org/reference/deps_and_cli#_dependencies -- I'm not sure if that helps with this case?
oh jeesh…. yet another maven concept I have to learn 🙂
Thanks for the pointer
Now I have yet another rabbit hole 🙂
You could try $tests
in the artifact ID -- $sources
should bring in the -sources.jar
I think, based on my (limited) understanding of this...
Thanks. I’m experimenting with that right now
aha! That worked. Thanks a ton!