title: CheckStyle IDEA using suppression file for custom checks
body: <p>I have a maven repo with custom checks which I want all the other maven repos to depend on. I want to suppress checks for some generated code in one of my repos. There are 2 ways I can setup suppression file:</p>
  
  <ol>
  <li><p>Have suppression file in the custom check repo, then specify SuppressionFilter in custom check style xml:</p>
  
  <pre><code>&lt;module name="SuppressionFilter"&gt;
     &lt;property name="file" value="${samedir}/checkstyle_suppressions.xml"
     default="src/main/resources/checkstyle_suppressions.xml"/&gt;
  &lt;/module&gt;
  </code></pre></li>
  </ol>
  
  <p>Then in the maven plugin section of the pom.xml file of repo that I want to run custom checkstyle on:</p>
  
  <pre><code>    &lt;suppressionsLocation&gt;checkstyle_suppressions.xml&lt;/suppressionsLocation&gt;
      &lt;suppressionsFileExpression&gt;checkstyle.suppressions.file&lt;/suppressionsFileExpression&gt;
  </code></pre>
  
  <ol start="2">
  <li>Do not put the SuppressionFilter section in the custom checkstyle xml. Have the same pom.xml setup for the repo to be checked. The suppression file can be placed local to the repo to be checked.</li>
  </ol>
  
  <p>Both of the approach work with command line "mvn clean validate". But neither works with CheckStyle IDEA plugin for Intellij. The Intellij plugin complains it couldn't find the suppression file for the 1st method above. </p>
  
  <p>I don't want to force every repo to have a suppression file if they don't need it. I wonder if there is a way to make suppression work for CheckStyle IDEA without having to have multiple copies of the same suppression file (1 in custom check repo, 1 in local repo).</p>
  
  <p>Thanks!</p>