Get all the dependencies of a MavenProject (including transitive ones) using Aether
问题 How can you get all the dependencies of a MavenProject (including transitive ones) using Aether? I have seen numerous examples where you specify the gav and it resolves the artifact and all it's dependencies. This is all fine. However, if your plugin is supposed to be invoked from the same project whose dependencies you're trying to resolve, this does not seem to work (or perhaps I am doing it wrong). Could somebody please give me a working example of how to do it? I have tried the example