Skip to main content
Participant
Sep 11, 2009 7:48 PM UTC
Question

HTML output from Maven report

Is there a way to get HTML output from the Maven report? When I do a site generation, I see pmd.xml in the target directory and a flexpmd.html file in target/site, but flexpmd.html is essentially empty. I don't see any configuration option for this. The "regular" PMD plugin always outputs HTML and the XML output is an option (although it defaults to on): http://maven.apache.org/plugins/maven-pmd-plugin/pmd-mojo.html#format

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Known Participant
Oct 26, 2009 9:03 PM UTC

Any advance on this? I also have the pmd.xml and flexpmd.html ok in the target directory but an empty version on flexpmd.html in the site directory.

Is there a way to specify targetDirectory/outputDirectory?

Translate
Known Participant
Oct 27, 2009 10:27 AM UTC

Actually, flex-pmd-maven-plugin 1.0.RC4 understands this in the configuration tag:

     <outputDirectory>${project.build.directory}/site</outputDirectory>

     <targetDirectory>${project.build.directory}/site</targetDirectory>

With this, "pmd.xml" and "flexpmd.html" are placed in the site folder, but "flexpmd.html" is replaced later with the empty site report template. So, no real gain here.

Any ideas on how to integrate the "flexpmd.html" file with the site reports?

Translate