You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Raphaël Piéroni <ra...@gmail.com> on 2006/07/05 22:15:42 UTC

[m2] [javadoc] javadoc for tests classes

Hello,

Is there a way to generate the javadoc for the sources and for the test
sources in a site ?
And is it therefore possible to have the test javadoc report to have its own
link in the site menu ?

Thanks in advance for any help.

Regards.

Raphaël

Re: [m2] [javadoc] javadoc for tests classes

Posted by Maria Odea Ching <oc...@mergere.com>.
Hi Raphael,

The only way I could think of how you can include the test sources in a 
site is by including the test sources directory in the sourcePath, as 
shown below:

<project>
  ...
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <configuration>
          <sourcePath>C:\Project\src;C:\Project\test</sourcePath>
        </configuration>
      </plugin>
    <plugins>
  </reporting>
  ...
</project>

I don't think there's a way to have the test javadoc report to have its 
own separate link in the site menu.
Hope this helps.. :-)

Thanks,
Odea


Raphaël Piéroni wrote:

> Hello,
>
> Is there a way to generate the javadoc for the sources and for the test
> sources in a site ?
> And is it therefore possible to have the test javadoc report to have 
> its own
> link in the site menu ?
>
> Thanks in advance for any help.
>
> Regards.
>
> Raphaël



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org