Hi all,

I tried to add the PMD plugin to my reports section in the pom.xml.

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-pmd-plugin</artifactId>

        <configuration>
        <rulesets>
        
<ruleset>C:\dev\var\configurations\pmd\rulesets\basic.xml</ruleset>
        </rulesets>
        <format>xml</format>
        <linkXref>true</linkXref>
        <sourceEncoding>utf-8</sourceEncoding>
        <minimumTokens>100</minimumTokens>
        <targetJdk>1.4</targetJdk>
        </configuration>                                                
</plugin>


When I generate my site I get the following error:
....
[INFO] Generate "PMD Report" report.
java.lang.ClassNotFoundException:
net.sourceforge.pmd.rules.UnnecessaryConversionTemporaryRule
        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
....

Does anybody know what I have to do to fix this issue?

Regards
Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to