@seancorfield Looks like the arg clojure -Spom is nowhere document. How did you find this ?
It used to be in the docs but -X:deps mvn-pom is the preferred way to do it now. The old -Spom still works (for now).
The difference is in how aliases are handled when building the basis for creating the list of dependencies for the pom.xml file.
The normal invocation is -X:alias some.ns/some-func. Since we have only mvn-pom alone, is it in the clojure.core namespace? But doesn’t sound like so.
:deps is an alias provided by the CLI itself that brings in tools.deps.alpha. It has a default namespace so mvn-pom is a function in that namespace, as are several other functions you can invoke via -X:deps such as list or tree
find-versions, prep are two others mentioned in the deps and CLI guide
There are several such functions described here https://clojure.org/reference/deps_and_cli
Yup. ns-default https://clojure.org/reference/deps_and_cli#_arg_map_keys