How to get access to Maven's dependency hierarchy within a plugin

Viewed 17942

In my plugin I need to process the dependency hierarchy and get information (groupId, artifactId, version etc) about each dependency and if it was excluded. What is the best way to do this?

7 Answers
Related