Not getting cpd.html in site generation

2010-04-06 Thread Kathryn Huxtable
I have the following in my reporting element:

plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-pmd-plugin/artifactId
  version2.4/version
  configuration
targetJdk1.6/targetJdk
linkXreftrue/linkXref
sourceEncodingutf-8/sourceEncoding
minimumTokens100/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



Re: Not getting cpd.html in site generation

2010-04-06 Thread Kathryn Huxtable
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
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-pmd-plugin/artifactId
  version2.4/version
  configuration
targetJdk1.6/targetJdk
linkXreftrue/linkXref
sourceEncodingutf-8/sourceEncoding
minimumTokens100/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



Re: Not getting cpd.html in site generation

2010-04-06 Thread Kathryn Huxtable
On Apr 6, 2010, at 4:11 PM, Kathryn Huxtable wrote:
 On Apr 6, 2010, at 4:05 PM, Kathryn Huxtable wrote:
 
 I have the following in my reporting element:
 
 plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-pmd-plugin/artifactId
 version2.4/version
 configuration
   targetJdk1.6/targetJdk
   linkXreftrue/linkXref
   sourceEncodingutf-8/sourceEncoding
   minimumTokens100/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.
 
 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

It's not the problem. This used to work. Maybe I've changed a version or 
something.

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