Hello. I'm writing a small program to analyze the dependencies of Maven projects. There are numerous examples of how to do this from within a Maven plugin, but I can't work out how to simply load a POM file and derive a ProjectDependencyGraph from it outside of the context of a plugin. How do I instantiate all of the required classes? As an example, I believe I need to instantiate a MavenSession, but all of the constructors of that class are deprecated...
Does anyone have any example code or documentation I can look at? M
pgpf11zxYuaSF.pgp
Description: OpenPGP digital signature