I've got a used case for an offline clojure project. I'd like to include a bundled dependency (in this case a version of Oz that I've modified to work offline so it won't fetch js dependencies). The result is an uberjar with all of the stuff Oz requires. I'd like to mess with it from the clj CLI tooling. I followed the prescription from the guide and have a minimal deps.edn co-located with with the uberjar:
{:deps
{metasoarous/oz {:local/root "./oz.jar"}}}
In my mind, this should be (more or less) equivalent to invoking
java -cp oz.jar clojure.main
Without any additional changes to deps.edn, launching clj will then try to resolve deps (e.g. for clojurescript), which I don't want (in fact, they'll fail due to network settings).
Is there a prescribed way to just treat the uberjar as a dumb local dependency, without engaging the higher order dependency resolution machinery? I'd like to leverage the options in deps.edn (e.g. setting up source paths, etc), just with a bunch of libs pre-loaded in the uber.jar (assumably all dependencies I'd need in a limited environment).
Another option (I guess) would be to install it into the local .m2 and treat it as a maven coordinate, which should (hopefully) prevent clj from trying to sniff dependencies online.
I'd hope the local jar approach could be made to work though.