polylith

rwaweber 2025-09-16T21:12:26.456139Z

Hey all! Kind of a similar situation as this linked one, trying to create a workspace-wide pom.xml for some scanning compliance mumbo jumbo(they dont seem to know what to do with the output from watson sadly), with clojure -X:deps mvn-pom :aliases '[:dev]' but it seems that it skips all of my local coordinate entries. Anyone have an idea of how to tell mvn-pom to follow the :local/root paths? The linked tree command works totally fine, so it smells like I'm probably missing a flag or something

seancorfield 2025-09-16T21:29:59.382919Z

clojure -X:deps list :aliases '[:dev]' will get you a bit closer -- it's the final list of all dependencies and versions (and licenses!), but you'd then have to remove all your :local/root entries:

aero/aero 1.1.6  (MIT)
bidi/bidi 2.1.6  (MIT)
camel-snake-kebab/camel-snake-kebab 0.4.3  (EPL-1.0)
cfml-interop/cfml-interop 0.3.0  (EPL-1.0)
cheshire/cheshire 6.1.0  (MIT)
clj-antlr/clj-antlr 0.2.5  (EPL-1.0)
...
poly/webpusher /home/sean/workspace/wsmain/bases/webpusher
poly/with-retry /home/sean/workspace/wsmain/components/with-retry
poly/world-plus /home/sean/workspace/wsmain/components/world-plus
poly/wsql /home/sean/workspace/wsmain/components/wsql
prismatic/schema 1.1.7  (EPL-1.0)
redis.clients/jedis 5.2.0  (MIT)
ring/ring-anti-forgery 1.4.0  (MIT)
ring/ring-codec 1.3.0  (MIT)
ring/ring-core 1.15.1  (MIT)
ring/ring-defaults 0.7.0  (MIT)
...
(from our work Polylith repo)

1
seancorfield 2025-09-16T21:33:20.979439Z

I forwarded your message to #tools-deps with a question about mvn-pom vs list...

❤️ 1
rwaweber 2025-09-17T14:08:43.900439Z

Thanks for forwarding that along Sean! Much appreciated And agreed, the deps list approach should get me reasonably close. It should be enough to munge something workable out of it. Again, thanks for your help!

👍🏻 1