title: Exclude folder with sources which are built in IntelliJ Idea
body: <p>I open maven project in Idea.
  I store my files which are used for unit testing in folder \src\test\resources</p>
  
  <p>But the issue is files which are used for testing are java-files.</p>
  
  <p>Despite 'mvn package' skip this files, but when opening in Idea it tries to compile them.</p>
  
  <p><strong>Is it possible to exclude this folder with java-files from sources to be compiled in Idea?</strong></p>
  
  <p>I use IntelliJ Idea 9.0.3</p>