You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Michal Maczka <Mm...@cqs.ch> on 2003/01/14 10:45:53 UTC
RE: Problem while using PMD with Maven
try to rename
pmd1.01.jar
to
pmd-1.01.jar
as this is artifact naming convention used in Maven
hope that helps
Michal
> -----Original Message-----
> From: Panna Bodupali [mailto:pannab@bsil.com]
> Sent: Wednesday, January 15, 2003 12:22 AM
> To: turbine-maven-user@jakarta.apache.org
> Cc: turbine-maven-user-info@jakarta.apache.org
> Subject: Problem while using PMD with Maven
>
>
> 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&re
lease_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:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
RE: Problem while using PMD with Maven
Posted by Panna Bodupali <pa...@bsil.com>.
Sorry its pmd-1.01.jar
-----Original Message-----
From: Panna Bodupali [mailto:pannab@bsil.com]
Sent: Tuesday, January 14, 2003 3:32 PM
To: 'Turbine Maven Users List'
Subject: RE: Problem while using PMD with Maven
Checked up the name of the jar in the repository folder, it is
pmd-1.01.
-Panna
-----Original Message-----
From: Michal Maczka [mailto:Mmaczka@cqs.ch]
Sent: Tuesday, January 14, 2003 1:46 AM
To: 'Turbine Maven Users List'
Subject: RE: Problem while using PMD with Maven
try to rename
pmd1.01.jar
to
pmd-1.01.jar
as this is artifact naming convention used in Maven
hope that helps
Michal
> -----Original Message-----
> From: Panna Bodupali [mailto:pannab@bsil.com]
> Sent: Wednesday, January 15, 2003 12:22 AM
> To: turbine-maven-user@jakarta.apache.org
> Cc: turbine-maven-user-info@jakarta.apache.org
> Subject: Problem while using PMD with Maven
>
>
> 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&re
lease_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:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
RE: Problem while using PMD with Maven
Posted by Panna Bodupali <pa...@bsil.com>.
Checked up the name of the jar in the repository folder, it is
pmd-1.01.
-Panna
-----Original Message-----
From: Michal Maczka [mailto:Mmaczka@cqs.ch]
Sent: Tuesday, January 14, 2003 1:46 AM
To: 'Turbine Maven Users List'
Subject: RE: Problem while using PMD with Maven
try to rename
pmd1.01.jar
to
pmd-1.01.jar
as this is artifact naming convention used in Maven
hope that helps
Michal
> -----Original Message-----
> From: Panna Bodupali [mailto:pannab@bsil.com]
> Sent: Wednesday, January 15, 2003 12:22 AM
> To: turbine-maven-user@jakarta.apache.org
> Cc: turbine-maven-user-info@jakarta.apache.org
> Subject: Problem while using PMD with Maven
>
>
> 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&re
lease_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:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>