title: Maven project license report on jars
body: <p>I'm trying to use maven to build a report that will output the licenses for the jars I am using in a project. I have come across other posts on here that point in the right direction using the maven project report plugin, but I'm having trouble figuring out how to use the commands correctly. </p>
  
  <p>Like I've been trying to use commands like the following,</p>
  
  <pre><code>mvn project-info-reports:license
  
  mvn project-info-reports:dependencies
  
  mvn site
  
  mvn site project-info-reports:license
  </code></pre>
  
  <p>but I'm not having much luck getting a report like the following - <a href="http://maven.apache.org/plugins/maven-dependency-plugin/dependencies.html" rel="nofollow noreferrer">Project Dependencies</a>.</p>
  
  <p>The site command created a bunch of information in the target folder but none have license information. I'm relatively new to maven so if someone could show me a quick example of how I should be doing this it would be very much appreciated, as I can't seem to find an example online.</p>