I see. This is currently not supported with the maven project type. You need to 
either switch to a freestyle project or invoke pmd:pmd.

I think there is already a similar issue: 
https://issues.jenkins-ci.org/browse/JENKINS-8650 

Am 16.05.2014 um 08:01 schrieb Jean Pierre Froud <jpfr...@gmail.com>:

> The pmd.xml file exists. It's produced with the binding of check goal during 
> verify phase:
> 
>                       <plugin>
>                               <groupId>org.apache.maven.plugins</groupId>
>                               <artifactId>maven-pmd-plugin</artifactId>
>                               <executions>
>                                       <execution>
>                                               <id>check-pmd</id>
>                                               <phase>verify</phase>
>                                               <goals>
>                                                       <goal>check</goal>
>                                               </goals>
> 
> Le jeudi 15 mai 2014 23:24:25 UTC+2, Ullrich Hafner a écrit :
> The PMD plug-in requires that your build creates the pmd.xml file. I.e., you 
> need to run 'mvn pmd:pmd'. Or how did you produce the pmd.xml file in your 
> build before?
> 
> Am 15.05.2014 um 16:34 schrieb Jean Pierre Froud <jpf...@gmail.com>:
> 
>> Hi,
>> 
>> I'm having a similar issue to this one: PMD plugin doesn't use pmd.xml
>> 
>> Unless I explicitly call pmd:pmd, the graph doesn't show. 
>> 
>> And if I add pmd:pmd, I see in log:
>> 
>> Successfully parsed file...
>> 
>> and the graph appears.
>> 
>> Jenkins ver. 1.544
>> Static Code Analysis Plug-ins 1.41
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-de...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to