For a maven dependency, how to find out which import in which Java class comes from it?
<p><code>my_project</code> has <code>upstream_project</code> as a dependency in its <code>pom.xml</code>, but I have no idea why this is necessary. How can I find out which class in <code>my_project</code> is importing from <code>upstream_project</code>, using either Maven command-line or IntelliJ?</p>

<p>I'm using Maven 3.3.3 and IntelliJ 14.1.</p>