title: Maven works strange when Intellij upgrade from Intellij 11 to Intellij14
body: <p>I configure my properties file in pom as bellow:</p>
  
  <pre><code>&lt;resources&gt;
          &lt;resource&gt;
              &lt;directory&gt;src/main/resources&lt;/directory&gt;
              &lt;includes&gt;
                  &lt;include&gt;**/*&lt;/include&gt;
              &lt;/includes&gt;
              &lt;excludes&gt;
                  &lt;exclude&gt;properties/*.properties&lt;/exclude&gt;
              &lt;/excludes&gt;
          &lt;/resource&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>When I open the project with Intellij 11 and rebuild project.
  All properties files in the path </p>
  
  <blockquote>
    <p>src/main/resources/properties/</p>
  </blockquote>
  
  <p>are compiled into the target/classed/properties.
  That seems:</p>
  
  <pre><code>&lt;excludes&gt;
      &lt;exclude&gt;properties/*.properties&lt;/exclude&gt;
  &lt;/excludes&gt;
  </code></pre>
  
  <p>in pom.xml doesn't work.</p>
  
  <p>But when I open the project with Intellij 14,it seems work.</p>
  
  <p>In fact what I want is:
  Open it with Intellij 14,and rebuild project,all properties files should be compiled into  the target/classes path, so that I can run server correctly in IDE.
  But also I hope all properties should be excluded when run maven independent for on jenkins build.</p>