title: Required Java version of Maven Dependency?
body: <p>I developed and built my Java application using Maven. I need to support Java 1.6, so I use the following properties:</p>
  
  <pre><code>&lt;maven.compiler.target&gt;1.6&lt;/maven.compiler.target&gt;
  &lt;maven.compiler.source&gt;1.6&lt;/maven.compiler.source&gt;
  </code></pre>
  
  <p>Still, when I run the application I get an "Unsupported major.minor version" error and I suspect that one of my dependency jars is compiled with a Java version newer than the one I need to support.</p>
  
  <p><strong>My questions:</strong></p>
  
  <ol>
  <li><p>Is this even possible? I thought Maven would take care of this kind of dependency version problems.</p></li>
  <li><p>Is there an easy way to find out the minor/major version of all my dependencies? (Would be awesome if it could be shown when doing <code>mvn dependency:tree</code> for instance.)</p></li>
  </ol>