Hi All,

I am trying to use PMD with Maven. I am currently using JDK -1.4, Windows
XP.

I have downloaded maven-pmd-plugin-0.3.jar from
http://sourceforge.net/project/showfiles.php?group_id=56262&release_id=12068
3

Also downloaded pmd-1.01.jar from pmd-bin-1.01.zip from the same URL.

Extracted pmd1.01.jar present in the zip folder to the repository folder
(repository/pmd/jars)

Also in project.xml I have added:
     <dependency>
        <id>pmd</id>
                <version>1.01</version>
     </dependency>

Added this zip file to the plugin folder.
When I executed maven -g, I can see pmd as one of the new goals.

When I try to execute -> maven pmd:generate-report, I get the following
error

pmd:generate-report:

[ERROR] BUILD FAILED
[ERROR] File......
C:\maven\maven-1.0-beta-7\plugins\maven-pmd-plugin-0.3\plugi
.jelly
[ERROR] Element... taskdef
[ERROR] Line...... 28
[ERROR] Column.... 70
[ERROR] taskdef class net.sourceforge.pmd.ant.PMDTask cannot be found
Total time:  19 seconds

Also i tried to explicity add the path of pmd-1.01 in the classpath, yet I
face the same problem.

Kindly Advice.

Thanks in Advance
Panna


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

Reply via email to