title: maven-pmd-plugin uses only the bundled rulesets
body: <p>I am using the maven-pmd-plugin on my project and this is how I have configured it</p>
  
  <pre><code>&lt;reporting&gt;
   &lt;plugins&gt;
    &lt;plugin&gt;
      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
      &lt;artifactId&gt;maven-jxr-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.3&lt;/version&gt;
    &lt;/plugin&gt;
    &lt;plugin&gt;
      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
      &lt;artifactId&gt;maven-pmd-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.6&lt;/version&gt;
      &lt;configuration&gt;
       &lt;linkXref&gt;true&lt;/linkXref&gt;
       &lt;sourceEncoding&gt;UTF-8&lt;/sourceEncoding&gt;
       &lt;minimumTokens&gt;100&lt;/minimumTokens&gt;
       &lt;targetJdk&gt;${targetJdk}&lt;/targetJdk&gt;
         &lt;rulesets&gt;
             &lt;ruleset&gt;${maven.pmd.rulesetfiles}&lt;/ruleset&gt;
         &lt;/rulesets&gt;
      &lt;/configuration&gt;
    &lt;/plugin&gt;
   &lt;/plugins&gt;
  &lt;/reporting&gt;
  </code></pre>
  
  <p>Here are the properties used in the above configuration</p>
  
  <pre><code>&lt;properties&gt;
  &lt;spring.version&gt;3.0.6.RELEASE&lt;/spring.version&gt;
  &lt;basedir&gt;C:\Users\Q4\workspace\project&lt;/basedir&gt;
  &lt;maven.pmd.rulesetfiles&gt;${basedir}\pmdRuleset.xml&lt;/maven.pmd.rulesetfiles&gt;
  &lt;targetJdk&gt;1.5&lt;/targetJdk&gt;
  &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
  &lt;/properties&gt;
  </code></pre>
  
  <p>The problem is when I run mvn pmd:check, it gives me 8 violations -- only from the basic, unusedcode and imports. It simply doesn't use all the rules that I have listed in the custom ruleset file. I have even tried using the logging-java.xml and strings.xml directly in the ruleset without using the custom ruleset file and it still doesn't work.</p>
  
  <p>When i run mvn pmd:pmd, i get a BUILD SUCCESS but the errors still show up in my target folder. Why do I get a build success here?</p>