Thanks for the netbeans support!
Using the netbeans PMD plugin (version 2.3.0) uses pmd-4.3.jar
The Configuration (Misc->[PMD]) allows me to select the rules to check
but it does not allow me to export or import those rules so I can share
the selected set (and settings per rule) with co-workers.
$ jar-info modules/ext/pmd-4.3.jar
Ant-Version : Apache Ant 1.8.2
Class-Path : jaxen-1.1.1.jar asm-3.2.jar
Created-By : 1.6.0_22-b22 (Sun Microsystems Inc.)
Creation-Date : 2011-11-04 22:19:50
Main-Class : net.sourceforge.pmd.PMD
Manifest-Version: 1.0
I wonder if pmd-4.3.jar in this plugin can be replaced with a more current
version. Maybe the same applies to SonarQube, which also ships pmd-4.3.jar
in which I found a false possitive, but I wanted to verify that against a
newer version of PMD before reporting the issue.