tools-deps

p-himik 2024-10-13T11:52:39.719329Z

Why isn't -Spom documented?

clj --help | egrep 'Version|Spom'
Version: 1.12.0.1479

p-himik 2024-10-13T11:54:19.635869Z

Is it because it's deprecated in favor of -X:deps mvn-pom?

Alex Miller (Clojure team) 2024-10-13T12:52:39.498869Z

Yes, would like to remove it eventually

👍 1
p-himik 2024-10-13T13:31:34.102779Z

A follow-up question - it seems that there are two implementations that generate pom.xml - one in clojure.tools.deps.gen.pom and the other in clojure.tools.build.tasks.write-pom. It seems that the latter has more features. Will the impls eventually converge, will there be a single impl common to both libs? (I'm trying to see if I can generate a pom file in memory to feed it to Maven programmatically, without using any files.)

Alex Miller (Clojure team) 2024-10-13T13:33:27.052499Z

Don’t know