title: Why do I get this compilation warning in Netbeans?
body: <p>I am working on a Java-EE project involving Glassfish 3.1.2.2 and the client component is running with Java 7 Update 21. The Swing-based client was formerly based on Java 6 Update 38 until we decided to migrate to the new Java 7 Update 21.</p>
  
  <p>I get the following compilation warning in Netbeans 7.3:</p>
  
  <pre><code>warning: Supported source version 'RELEASE_6' from annotation processor 'org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor' less than -source '1.7'
  </code></pre>
  
  <p>At this point, the compilation process hangs for about 1 minute. </p>
  
  <p>Btw, we still have the javaee-api-6.0.jar referenced that is provided by the Netbeans platform (I think there's no javaee-api-7.0.jar available yet?)</p>
  
  <p>Does somebody know the reason for this warning and how I can get rid of it ?</p>
  
  <p>Any help highly appreciated - many thanks in advance.</p>