title: invalid target release: 1.7
body: <p>I have seen similar questions, but haven't yet found the answer. </p>
  
  <p>Using maven compile, I get: </p>
  
  <pre><code>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project api: Fatal error compiling: invalid target release: 1.7 -&gt; [Help 1]
  </code></pre>
  
  <p>Here is the pom.xml:</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;version&gt;3.0&lt;/version&gt;
      &lt;configuration&gt;
          &lt;source&gt;1.7&lt;/source&gt;
          &lt;target&gt;1.7&lt;/target&gt;
          &lt;encoding&gt;UTF-8&lt;/encoding&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>Javac version:</p>
  
  <pre><code>javac 1.7.0_25
  </code></pre>
  
  <p>Java version:</p>
  
  <pre><code>java version "1.7.0_25"
  Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
  Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
  </code></pre>
  
  <p>Any idea what it could be?</p>