Skip to content

Lockfile-indexing-based dependency search (backend)

Created by: mrnugget

Possibly

Notes

Olaf's idea for creating full tree/graph for Maven/pom.xml:

Idea for Java dependencies search: support only pom.xml files and implement a lockfile parser that shells out to mvn dependency:tree to get the full dependency graph. There are options to emit structured XML files or graphviz dot files. Maven is a declarative build tool so it should be safe to invoke this command unlike the equivalent functionality for Gradle, which requires arbitrary code execution https://gist.github.com/olafurpg/d434a4cdefd7e92e30d2d1876cd48efb