maven pom.xml error with configuration in IntelliJ
<p>There is a problem in the pom.xml like this.</p>

<pre><code>&lt;build&gt;
        &lt;finalName&gt;console&lt;/finalName&gt;
        &lt;plugins&gt;
            &lt;plugin&gt;
                &lt;groupId&gt;org.apache.tomcat.maven&lt;/groupId&gt;
                &lt;artifactId&gt;tomcat7-maven-plugin&lt;/artifactId&gt;
                &lt;version&gt;2.2&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;
        &lt;/plugins&gt;
    &lt;/build&gt;
</code></pre>

<p>Like above code, source and target, encoding tag is shown as red color in IntelliJ IDEA.<br>
And this code did not exist in old version. Cause I merged and committed this code with new version with GIT. This code is new version's code.</p>

<p>If I hover the mouse at the <code>&lt;source&gt;</code>, then it says </p>

<blockquote>
  <p>Element source is not allowed here.</p>
</blockquote>

<p>If I hover the mouse at the <code>&lt;target&gt;</code>, then it says </p>

<blockquote>
  <p>Element target is not allowed here.</p>
</blockquote>

<p>If i hover the mouse at the <code>&lt;encoding&gt;</code>, then it says </p>

<blockquote>
  <p>Element encoding is not allowed here.</p>
</blockquote>

<p>Is it related with tomcat7-maven-plugin or other problems?
All i did is just paste this code to pom.xml.</p>