I’m currently running into a problem using Hudson’s PMD-plugin on a maven2-android project.
The part within my POM look like this:
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugins</artifactId>
<configuration>
<linkXref>true</linkXref>
<sourceEncoding>UTF-8</sourceEncoding>
<targetJdk>1.6</targetJdk>
<rulesets>
<ruleset>Where should this point?</ruleset>
</rulesets>
</configuration>
</plugin>
</plugins>
</reporting>
Unluckily I can’t find any to the location of the android-ruleset. Anyone got the address?
With the latest PMD (4.2.5, February 2009), an
android.xmlfile is included, with Android-specific rules.You could try and refer that file, a bit like in this thread.