deps.maven

Namespace that supports building the full transitive dependency graph of a Maven project, including subprojects, and provides query and manipulation tooling.

ddf-home

mvn-collect-edges

(mvn-collect-edges paths)

Given a collection of paths, aggregate all edges across all maven artifacts across all graphml files included in the collection.

mvn-edges-as-adjacency-list

(mvn-edges-as-adjacency-list edges)

Transforms edge maps into an adjacency list (vector of vectors).

mvn-generate-deps-for-proj

(mvn-generate-deps-for-proj path)

Given a string path to some Maven project,

mvn-list-dep-files

(mvn-list-dep-files path)

Given a string path to any directory, returns a list of fully qualified path strings for all xml files in that directory.

mvn-list-edges

(mvn-list-edges path)

Given a string path to a graphml file, extract edge information. Sample edge map: {:target commons-lang/commons-lang/2.6 :source ddf.security.core/security-core-api/2.17.2 :name compile }

mvn-move-deps-to

(mvn-move-deps-to path dest)

Given a string path to some Maven project and a string path to some destination folder, aggregate, rename, and move all tree.xml files to the destination.

my-output-dir

my-path-to-ddf