This api provides functions that can be executed from the Clojure tools using -X:deps.
This api provides functions that can be executed from the Clojure tools using -X:deps.
(git-resolve-tags _)
Resolve git tags in deps.edn git deps to full shas.
Resolve git tags in deps.edn git deps to full shas.
(mvn-install {:keys [jar pom lib version classifier local-repo] :as opts})
Install a jar and pom to the Maven local cache. The pom file must either be supplied, or generated based on provided lib/version/classifier, or provided inside the jar. The group/artifact/version coordinate will be pulled from the pom source as above.
Required: :jar (reqired) - path to jar file (embedded pom used by default)
Explicit pom options: :pom - path to pom file (pom in jar ignored)
Generated pom options: :lib - qualified symbol like my.org/lib :version - string :classifier - string
Other options: :local-repo (optional) - path to local repo (default = ~/.m2/repository)
Execute ad-hoc: clj -X:deps mvn/install :jar '"foo-1.2.3.jar"'
Install a jar and pom to the Maven local cache. The pom file must either be supplied, or generated based on provided lib/version/classifier, or provided inside the jar. The group/artifact/version coordinate will be pulled from the pom source as above. Required: :jar (reqired) - path to jar file (embedded pom used by default) Explicit pom options: :pom - path to pom file (pom in jar ignored) Generated pom options: :lib - qualified symbol like my.org/lib :version - string :classifier - string Other options: :local-repo (optional) - path to local repo (default = ~/.m2/repository) Execute ad-hoc: clj -X:deps mvn/install :jar '"foo-1.2.3.jar"'
(mvn-pom {:keys [argmaps]})
Sync or create pom.xml from deps.edn.
Options: :argmaps - vector of aliases to combine into argmaps to resolve-deps and make-classpath
Sync or create pom.xml from deps.edn. Options: :argmaps - vector of aliases to combine into argmaps to resolve-deps and make-classpath
(tree opts)
Print deps tree for the current project's deps.edn built from either the current directory deps.edn, or if provided, the trace file.
By default, :format will :print to the console in a human friendly tree. Use :edn mode to print the tree to edn.
In print mode, deps are printed with prefix of either . (included) or X (excluded). A reason code for inclusion/exclusion may be added at the end of the line.
Input options: :file Path to trace.edn file (from clj -Strace) to use in computing the tree
Output mode: :format :print (default) or :edn
Print output mode modifiers: :indent Indent spacing (default = 2) :hide-libs Set of libs to hide as deps (if not top dep), default = #{org.clojure/clojure}
Print deps tree for the current project's deps.edn built from either the current directory deps.edn, or if provided, the trace file. By default, :format will :print to the console in a human friendly tree. Use :edn mode to print the tree to edn. In print mode, deps are printed with prefix of either . (included) or X (excluded). A reason code for inclusion/exclusion may be added at the end of the line. Input options: :file Path to trace.edn file (from clj -Strace) to use in computing the tree Output mode: :format :print (default) or :edn Print output mode modifiers: :indent Indent spacing (default = 2) :hide-libs Set of libs to hide as deps (if not top dep), default = #{org.clojure/clojure}
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close