title: Maven 2 checkstyle plugin version 2.5 - Problem with configLocation
body: <p>I am using checkstyle plugin in maven 2. I now want to switch my config file, from the default one to a) an online file, or b) a local file. I tried the following two things, which both didnt work. Any suggestions?</p>
  
  <p>A) Local file, which is directly in my project folder next to the pom.xml</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;configuration&gt;
          &lt;configLocation&gt;checkstyle.xml&lt;/configLocation&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>B) Remote file, that is stored on a server</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;configuration&gt;
          &lt;configLocation&gt;http://stud.hs-heilbronn.de/~nischmid/development/checkstyle-config.xml&lt;/configLocation&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>Both cases result in an error like this:</p>
  
  <blockquote>
    <p>[INFO] An error has occurred in
    Checkstyle report generation. Embedded
    error: Failed during checkstyle
    execution Could not find resource
    'file:checkstyle.xml'.</p>
  </blockquote>
  
  <p>Any help would be appreciated!</p>