Hello, I have a very little maven project (only one source file), sources as usual in src/main/java, everything works fine, mvn compile, mvn site and so on. But not mvn pmd:pmd. It generates some files (target/basic.xml, target/unusedcode.xml ...), pmd.xml is also generated, but its nearly empty. It contains only an pmd-tag, nothing more. I try to integrate the pmd-plugin in my site-report, which seems to work because pmd-sites are generateded, but they are useless because the file-section is empty. The maven-pmd-plugin is unable to find my source code, I think, but why? I also tried the checkstyle-plugin, which just works fine as expected without any special treatment. Any suggestions how I can figure out the problem? Here is the output of the command:
#mvn -e pmd:pmd + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'pmd'. [INFO] ---------------------------------------------------------------------------- [INFO] Building InquiryPortlet [INFO] task-segment: [pmd:pmd] [INFO] ---------------------------------------------------------------------------- [INFO] [pmd:pmd] [WARNING] Unable to locate Source XRef to link to - DISABLED [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 9 seconds [INFO] Finished at: Thu Jun 29 08:53:31 CEST 2006 [INFO] Final Memory: 4M/108M [INFO] ------------------------------------------------------------------------ As far as I know, the warning has nothing to do with my problem. Is there any way to point the maven-pmd-plugin to the source files? But I thought, this is unnecessary if my source files are on standard location. Regards Heiko Wolf -- "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]