title: Does Maven really honor the <source> tag in the compiler plugin?
body: <p>I work on a Java program that should be compatibe with Java 5. I had <code>@Override</code> annotations on implemented interface methods which is allowed in Java 6, but not in 5. I use a Java 6 SDK. Eclipse correctly gives error messages on the <code>@Override</code> when I set it to 5.0 compliance. My Maven build, however, runs without even a warning, using the following settings in my POM:</p>
  
  <pre><code>    &lt;plugin&gt;
        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
        &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
        &lt;configuration&gt;
          &lt;source&gt;1.5&lt;/source&gt;
          &lt;target&gt;1.5&lt;/target&gt;
        &lt;/configuration&gt;
      &lt;/plugin&gt;
  </code></pre>
  
  <p>Am I correct in expecting that this should actually make the build fail? Why doesn't it, and is there something I can do?</p>