" My question is: How can I configure the checkstyle plugin so that the checkstyle report of the subprojects reference the jxr report of the module project in the parent folder?"
Robert, that's what I'd like to now also. I've been pulling my hair for a day now trying to make sense of the xrefLocation configuration. Several blog posts (for example http://blog.xebia.com/2007/01/16/reporting-on-a-multi-module-project-wit h-maven2/ and http://stacktrace.se/2007/08/09/rapportgenerering-med-maven-for-multimod ule-project/) suggests that using <xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation > is the way to go, but it doesn't work (at least not with Maven 2.0.9). "String relativePath = PathTool.getRelativePath(getOutputDirectory(), xrefLocation.getAbsolutePath());" Debugging this code reveals the following: getOutputDirectory() = "C:\path\to\module1\target\site" xrefLocation.getAbsolutePath = "C:\path\to\module1\target\xref" The check "filename.startsWith( basedir )" in PathTool returns false since outputDirectory is not a prefix in xrefLocation which then causes getRelativePath() to return an empty string (relativePath = ""). If anyone knows a way around this issue, please let us know. Regards, Jon
