BTW, I get the following output from "mvn site":

[INFO] Generating "Project License" report.
[INFO] Generating "Project Team" report.
[INFO] Generating "Project Summary" report.
[INFO] Generating "Issue Tracking" report.
[INFO] Generating "Source Repository" report.
[INFO] Generating "Mailing Lists" report.
[INFO] Generating "Dependencies" report.
[INFO] Generating "Source Xref" report.
[INFO] Generating "Test Source Xref" report.
[INFO] Generating "Tag List" report.
[INFO] Generating "PMD Report" report.
[INFO] Generating "CPD Report" report.
[INFO] Generating "JavaDocs" report.

So something is happening, and as I said, a cpd.xml file is generated with 
duplicates.

If I run "mvn pmd:cpd" I get the correct HTML listing, but with the incorrect 
site.vm formatting. I have a custom template file for my site docs.

Could that be the problem?

-K

On Apr 6, 2010, at 4:05 PM, Kathryn Huxtable wrote:

> I have the following in my <reporting> element:
> 
> <plugin>
>  <groupId>org.apache.maven.plugins</groupId>
>  <artifactId>maven-pmd-plugin</artifactId>
>  <version>2.4</version>
>  <configuration>
>    <targetJdk>1.6</targetJdk>
>    <linkXref>true</linkXref>
>    <sourceEncoding>utf-8</sourceEncoding>
>    <minimumTokens>100</minimumTokens>
>  </configuration>
> </plugin>
> 
> I get the pmd report and the cpd.xml file is generated, but the cpd.html file 
> lists no duplicate code, which is not correct.
> 
> Any ideas?
> 
> I have no other references in my POM to this plugin.
> 
> -K
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 


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

Reply via email to