This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-27
Channels
- # announcements (2)
- # asami (25)
- # babashka (124)
- # beginners (46)
- # calva (55)
- # cljdoc (70)
- # clojure (68)
- # clojure-australia (2)
- # clojure-dev (63)
- # clojure-europe (38)
- # clojure-nl (1)
- # clojure-spec (1)
- # clojure-uk (8)
- # clojurescript (56)
- # community-development (4)
- # conjure (1)
- # copenhagen-clojurians (1)
- # core-async (1)
- # cursive (3)
- # datahike (5)
- # datomic (183)
- # depstar (2)
- # figwheel-main (10)
- # fulcro (20)
- # honeysql (2)
- # hyperfiddle (1)
- # integrant (68)
- # jobs (6)
- # jobs-discuss (5)
- # juxt (1)
- # malli (13)
- # off-topic (8)
- # pathom (2)
- # rdf (10)
- # reagent (11)
- # remote-jobs (1)
- # rum (1)
- # shadow-cljs (69)
- # spacemacs (1)
- # sql (5)
- # tools-build (51)
- # tools-deps (6)
- # xtdb (24)
@seancorfield Is there any way to modify classpath for :sync-pom? I use depstar and have the following alias:
:sync-pom {:replace-deps {com.github.seancorfield/depstar {:mvn/version "2.1.278"}}
:exec-fn hf.depstar/pom
:exec-args {:sync-pom true}}
When I call clojure -X:sync-pom
then depstar creates or modifies the pom.xml
Depstar includes to pom.xml all deps from :deps section.
For some reasons I need to include into pom.xml deps from :test alias.
When I call clojure -R:test -X:sync-pom
I expect that :deps + :test dependecies will be merged in put to pom.xml. I see that deps from :test alias are not added to pom.xml, but only form :deps section
So, how to modify classpath for :sync-pom?@mike1452 depstar
is archived. I recommend using tools.build
for managing your pom.xml
file instead. https://clojure.github.io/tools.build/clojure.tools.build.api.html#var-write-pom lets you pass a basis so you have full control over the contents.