A Clojure library designed to be used with pomegrante to check for common unexpected dependency problems.
Use the transformer as part of the pomegranate dependency resolution. Include two atoms of lists in order to pass information after resolution.
(require '[cemerick.pomegranate.aether :as aether]) (require '[pedantic.core :as pedantic]) (def ranges (atom )) (def overrides (atom )) (aether/resolve-dependencies :coordinates coords :repository-session-fn #(-> % aether/repository-session (pedantic/use-transformer ranges overrides)))
ranges will be a vector of paths (maps with keys
overrides will be a vector of maps with keys
[:accepted :ignoreds :ranges].
:accepted is the path that was resolved.
:ignored is a list of paths that were not used.
:ranges is a list of paths containing version ranges that might have affected the resolution.
The nodes included will be
Copyright © 2014 Nelson Morris
Distributed under the Eclipse Public License, the same as Clojure.