-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Paul G wrote: | | I am running PMD reporting plugin and I get the below error | java.lang.ClassNotFoundException: | net.sourceforge.pmd.rules.SingularField | | Now this used to work some time back, The error comes from the fact that SingularField class was moved into the net.sourceforge.pmd.rules.design package in pmd 4.0 so custom rulesets will have to be updated to add ".design" for the rule class name to find the class. The previous maven pmd plugin was based on pmd 3.9. | plus when i lookin in the plugin pom | the only dependency that mentions pmd is | <dependency> | <groupId>pmd</groupId> | <artifactId>pmd-jdk14</artifactId> | <version>4.1.1</version> | </dependency> | When I look in this jar the class in question is indeed not there!! I | have | set the target jdk to 1.5 so why is it using PMD 4.1.1 jdk14? Maven requires support for jdk 1.4 so we had to release 4.1.1 just after 4.1 to add the pmd-jdk14 artifact instead of using the jdk15 based pmd artifact in order to allow the maven pmd plugin to be used with java 1.4+. | why is the plugin not using PMD 4.2? pmd 4.2 was just released last week. The maven pmd plugin will need to be updated to use it. - -- Xavier Le Vourch Brittany Software, Inc. <[EMAIL PROTECTED]> PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc Key fingerprint: 73B3 6370 B8C5 4325 F2D8 4115 0372 5805 896C 5947 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH9Gb8A3JYBYlsWUcRAt2dAJ4pHksmtO3n7/dJ8BO4tbchiMk36wCgjM49 nUjgvV6BVUQtEhmZ9nxXeKY= =FOQS -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
