I am struggling with the same thing right now, and found this guide as a good starting point: http://www.javaworld.com/javaworld/jw-02-2006/jw-0227-maven.html

Only thing is, I've tried to include javadoc-report, junit-report (surefire), and coverage-report (clover) to my reporting section in the POM, but it's only the javadoc which is generated. The maven-surefire-plugin doesn't even seem to start, and the maven-clover-plugin complains about an expired licence...

I have defined this in my reporting section:
<reporting>
  <plugins>

    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-project-info-reports-plugin</artifactId>
      <reportSets>
        <reportSet>
          <reports>
            <report>project-team</report>
          </reports>
        </reportSet>
      </reportSets>
    </plugin>

    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-javadoc-plugin</artifactId>
    </plugin>

    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-surefire-plugin</artifactId>
    </plugin>

    <!--plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-clover-plugin</artifactId>
    </plugin-->

  </plugins>
</reporting>

When running 'mvn test' the testing completes fine, but still it's not included when running 'mvn site'

Rune




Andreas Guther wrote:
Hi,

I am searching for an overview of the available Maven 2 report plug-ins
besides the standard ones.

I found an example for pmd but I wonder if there is a somewhere a
collection of available reports like JUnit, JDepend, etc. with examples
for configuring them.

Of course I could look into the code of each plug-in...

Just wondering if there is an info page.

Thanks in advance for any hint.

Andreas




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to