title: jasperreports-maven-plugin - How do I set the JDK version?
body: <p>I am installing my maven project using <em>IntelliJ IDEA</em>. I have set the <em>Java</em> compiler to <strong><em>1.6</em></strong> in IDE settings, but it seems <em>jasperreports-maven-plugin</em> is using <strong><em>1.7</em></strong>. I am 99% sure it is because my system <em><code>JAVA_HOME</code></em> is set to <strong><em>1.7</em></strong>.</p>
  
  <p>As a result, I get the following error when installing:</p>
  
  <pre><code>java.lang.UnsupportedClassVersionError: demo1_1377077829323_970805 : Unsupported major.minor version 51.0
  </code></pre>
  
  <p>How do I get <em>jasperreports-maven-plugin</em> to use <em>JDK 1.6</em>, and not the system <em><code>JAVA_HOME</code></em>?</p>