title: Messages with level Diagnostic.Kind.NOTE (and others) on Annotation Processors
body: <p>I have two Maven projects:</p>
  
  <ul>
  <li>The first defines an <strong>annotation</strong>, an <strong>annotation processor</strong> and a <strong>provider-configuration file</strong> to trigger the annotation processor through the ServiceLoader API.</li>
  <li>The other depends on the first and defines some <strong>classes and interfaces</strong>, and one of them is <strong>annotated with the annotation defined in the first project</strong>.</li>
  </ul>
  
  <p>I invoke the build of the second project (after having built and installed the first) with <code>mvn clean &amp;&amp; mvn compile</code>, just to be sure that compilation will happen and that annotation processing will run. It works as expected: the simple annontation processor just generates a resource file in the <code>target/classes/</code> directory containing some dummy data.</p>
  
  <p>When I tried to output some information using <code>processingEnv.getMessager().printMessage(...)</code> I started having some trouble. If I use <code>Diagnostic.Kind.ERROR</code>, the build stops and it prints the message, as I would expect. However, <strong>with any other <code>Kind</code> (such as <code>NOTE</code> or <code>WARNING</code>), the message is not written on the screen</strong>!</p>
  
  <p>Some information on my environment:</p>
  
  <pre><code>Kubuntu 12.10
  Linux 3.5.0-17-generic
  Apache Maven 3.0.4 (r1232337; 2012-01-17 06:44:56-0200)
  Java version: 1.7.0_09, vendor: Oracle Corporation
  </code></pre>
  
  <p>I didn't explicitly declare the version of <code>maven-compiler-plugin</code> anywhere, so it must be using the default version (2.3.2? I'm not sure).</p>
  
  <p>How does one enable the output of all the <code>Kind</code>s of messages on this setup? (ie, launching the annontation processor through maven)</p>