with
List<Plugin> plugins = project.getBuild().getPlugins();
I can get all plugins.
plugin.getDependencies()
only delivers the dependencies declared when using it. But how can I get the (transitive) list of the dependencies of each plugin ? The dependencies necessary to build it.