title: Maven checkstyle plugin - check goal cannot find configuration file
body: <p>I have been unable to use the checkstyle check goal.  I'm getting the following error:</p>
  
  <blockquote>
    <p>Unable to find configuration file at location:
    ${project.parent.basedir}/.settings/my_checks.xml: Could not find
    resource '${project.parent.basedir}/.settings/my_checks.xml'.</p>
  </blockquote>
  
  <p>I get this error when I use the command <code>mvn checkstyle:check</code>, but if I run <code>mvn checkstyle:checkstyle</code> this configuration file is found and used as expected.  </p>
  
  <p>The plugin configuration is shown below.</p>
  
  <pre><code>        &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-checkstyle-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.17&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;check&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;phase&gt;test&lt;/phase&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;           
          &lt;/plugin&gt;   
  
  ...
  
      &lt;properties&gt;
          &lt;checkstyle.config.location&gt;${project.parent.basedir}/.settings/my_checks.xml&lt;/checkstyle.config.location&gt;         
      &lt;/properties&gt;
  </code></pre>
  
  <p>Any suggestions?  Why would the checkstyle goal work but not the check goal?</p>
  
  <p>Edit: Upon further review I have learned that ${project.parent.basedir} does not resolve when running the check goal.  It does resolve when calling the checkstyle goal.  Still looking for suggestions / workarounds...</p>