title: Exclude logs folder in Maven/Intellij Idea project
body: <p>I have a 'logs' directory on the same level as my project is and Intellij Idea, and I can open these logs from Idea. Files in this directory are a couple of gigs, so when I try to search a string in a project it results into a minute or so search, whereas I expect it to be instant. So I mark it as 'Excluded' in Idea. </p>
  
  <p>The problem is that every time there is a change to pom and project is reloaded, I need to mark this dir as 'Excluded' again. So it's becoming a bit annoying because sometimes I forget to do this.</p>
  
  <p>There is a similar question: <a href="https://stackoverflow.com/questions/2027505/exclude-folder-in-intellij-idea-using-maven">Exclude folder in intellij idea using Maven</a>. However I'm not using this plugin, because it would be easier for me to always mark this folder as Excluded in Idea on every pom change.</p>