This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-27
Channels
- # announcements (8)
- # babashka (7)
- # beginners (24)
- # biff (5)
- # calva (17)
- # cider (1)
- # clj-kondo (4)
- # clojure (61)
- # clojure-europe (5)
- # clojure-norway (19)
- # clojurescript (17)
- # conjure (1)
- # core-typed (14)
- # cursive (9)
- # datomic (7)
- # events (2)
- # figwheel (2)
- # helix (1)
- # honeysql (4)
- # jobs (3)
- # lsp (3)
- # malli (2)
- # nrepl (13)
- # off-topic (9)
- # pathom (6)
- # pedestal (3)
- # polylith (3)
- # portal (7)
- # reagent (4)
- # reitit (2)
- # shadow-cljs (49)
- # tools-deps (8)
- # vim (3)
Does a Tool released to Maven support :tools/usage
? If yes, how so? Do I need to include my deps.edn in the built jar?
No, :tools/usage
only works with git (and local) source-based deps. Basically deps.edn
-only stuff.
Artifacts released to Maven/Clojars have a pom.xml
files as the "system of record" inside the JAR and that contains a list of other Maven/Clojars dependencies (that are all "standard" :mvn/version
style libraries).
@kenny ☝️:skin-tone-2:
Got it. Thank you. It might be nice to add that :tools/usage is not supported for maven to the website docs in https://clojure.org/reference/deps_and_cli#_tool_usage.
I have thought about this quite a bit and I wouldn't close the door on ever supporting artifact based tools, but it raised more issues than I was willing to solve before the initial tool release
One workaround would be to make git dep wrapper with a tools/usage around a maven artifact