title: How to get access to Maven's dependency hierarchy within a plugin
body: <p>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?</p>