2 Replies Latest reply on Oct 27, 2009 3:27 AM by Alex Albericio

    HTML output from Maven report

    justinedelson

      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

        • 1. Re: HTML output from Maven report
          Alex Albericio Level 1

          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?

          • 2. Re: HTML output from Maven report
            Alex Albericio Level 1

            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?