Hi all,
Is there a way to use an uberjar to vendor dependencies for future builds? I used tools.build to make an uberjar with b/uber, moved the target dir to ../vendor and wanted to use e.g. aero with :local/root:
{:deps {aero/aero {:local/root "../vendor/aero"}}}
This throws with Manifest file not found for aero/aero in coordinate #:local{:root "..."}. That makes sense, there isn’t a pom.xml or deps.edn in there. Is b/write-pom the way to go about this? That looks like it might be more for writing a pom for the project itself, not for an individual dependency.I don’t understand what you’re trying to do
Sorry 😅 We want to vendor our dependencies in-tree and I’m trying to get around cloning them all by hand.
oh… this is exactly the usecase for mvn/local-repo right?
you could use it like that potentially
if you pointed local-repo to a relative dir and did clj -P it would download all your deps into that dir
Thank you, I think that is perfect for our usecase 🙂