One of the requirements for a program I am working on is that I need to be able to look through the Maven dependencies of several artifacts in a repository so I can create dependency graphs for them. While it is obvious that Maven and Eclipse Aether can do this (as a huge part of Maven is getting dependencies), I'm having a really tough time figuring out how to do it in a Java program.
Any suggestions?
It seems that Aether can help, according to the documentation. There is even an example that demonstrates how to use Aether to collect the transitive dependencies of an artifact. Combining that with the Maven API example here, I think you can get where you want.