You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Graham Leggett <mi...@sharp.fm> on 2003/05/27 21:30:40 UTC

PMD registration fails

Hi all,

I have tried to add a PMD report to the site:generate goal using 
<report>pmd</report>, but this keeps failing.

It seems that the pmd plugin's "register" goal is under 
"maven-pmd-plugin:register", but the "report" goal is under 
"pmd:report", which confuses xdoc.

Trying <report>maven-pmd-plugin</report> does not work either.

Has anyone got this to work?

I tried to install the latest CVS version of the pmd plugin into maven 
v1.0b8, but this didn't make any difference.

Is there something I am missing?

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: PMD registration fails

Posted by Graham Leggett <mi...@sharp.fm>.
Siegfried Göschl wrote:

> do you have pmd-1.03.jar in your local repo?! I checked IBIBLIO and 
> there is only pmd-1.04.jar available.

I changed the plugin to look for v1.04, and added the two dependancies 
it needed, but it still didn't work :(

Going to try again to get the CVS version to compile using the Sun JDK 
(I tried with the IBM v1.4.0 JDK and the build failed half way out of 
memory) and see if I can get any joy.

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: PMD registration fails

Posted by Siegfried Göschl <si...@it20one.at>.
Hi Graham,

do you have pmd-1.03.jar in your local repo?! I checked IBIBLIO and 
there is only pmd-1.04.jar available.

Cheers,

Sigi

On 27 May 2003 at 22:44, Graham Leggett wrote:

> Siegfried Göschl wrote:
> 
> > Mhmm, I got the PMD plugin working with Maven B8 (and some help from
> > Martin Poeschl) before it was moved to the MAVEN CVS. 
> > 
> > This release can be found at http://sourceforge.net/projects/maven-
> > plugins/
> 
> I tried this version, but it failed with the following error:
> 
>      [echo] Generating the maven-pmd-plugin ...
> 
> BUILD FAILED
> null:39:70: <taskdef> taskdef class net.sourceforge.pmd.ant.PMDTask
> cannot be found
> 
> Regards,
> Graham
> -- 
> -----------------------------------------
> minfrin@sharp.fm		"There's a moon
>      over Bourbon Street
>       tonight..."
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For
> additional commands, e-mail: users-help@maven.apache.org
> 



Siegfried Goeschl
CTO
=================================
IT20one GmbH
mail: siegfried.goeschl@it20one.at
phone: +43-1-9900046
fax: +43-1-52 37 888
www.it20one.at

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: PMD registration fails

Posted by Graham Leggett <mi...@sharp.fm>.
Siegfried Göschl wrote:

> Mhmm, I got the PMD plugin working with Maven B8 (and some help from 
> Martin Poeschl) before it was moved to the MAVEN CVS. 
> 
> This release can be found at http://sourceforge.net/projects/maven-
> plugins/

I tried this version, but it failed with the following error:

     [echo] Generating the maven-pmd-plugin ...

BUILD FAILED
null:39:70: <taskdef> taskdef class net.sourceforge.pmd.ant.PMDTask 
cannot be found

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: PMD registration fails

Posted by Siegfried Göschl <si...@it20one.at>.
Mhmm, I got the PMD plugin working with Maven B8 (and some help from 
Martin Poeschl) before it was moved to the MAVEN CVS. 

This release can be found at http://sourceforge.net/projects/maven-
plugins/

I tried to have a look at the CVS repo but I currently get no 
connection ... :-(

Siegfried Goeschl

On 27 May 2003 at 21:30, Graham Leggett wrote:

> Hi all,
> 
> I have tried to add a PMD report to the site:generate goal using
> <report>pmd</report>, but this keeps failing.
> 
> It seems that the pmd plugin's "register" goal is under 
> "maven-pmd-plugin:register", but the "report" goal is under 
> "pmd:report", which confuses xdoc.
> 
> Trying <report>maven-pmd-plugin</report> does not work either.
> 
> Has anyone got this to work?
> 
> I tried to install the latest CVS version of the pmd plugin into maven
> v1.0b8, but this didn't make any difference.
> 
> Is there something I am missing?
> 
> Regards,
> Graham
> -- 
> -----------------------------------------
> minfrin@sharp.fm		"There's a moon
>      over Bourbon Street
>       tonight..."
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For
> additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org