You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Erez Nahir <er...@gmail.com> on 2007/02/08 22:43:55 UTC
[M2] maven-javadoc-plugin - javadoc for src and test
Hi,
We have a multi project based on maven 2.0.4, I would like to add the
javadoc comments of our unit test code to the project's javadoc report.
Every subproject's (aka module) has the standard maven directory layout.
We use maven-javadoc-plugin versioin 2.2.
I have tried to use this, but it does not work :-(
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.2</version>
<configuration>
<sourcePath>${basedir}/src/main/java;${basedir}/src/test/java</sourcePath>
<links>
<link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
</links>
</configuration>
</plugin>
I also tried with sourcepath instead of sourcePath, added subpackages
but none.
Any one has an idea?
Thanks,
Erez.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] maven-javadoc-plugin - javadoc for src and test
Posted by Wayne Fay <wa...@gmail.com>.
Searching my Gmail archive, this was covered back in Oct 2006. You
should be able to find this email thread in Nabble.com.
to users@maven.apache.org
date Oct 27, 2006 4:51 PM
subject Re: How do I generate test javadocs?
Wayne
On 2/8/07, Erez Nahir <er...@gmail.com> wrote:
> Hi,
>
> We have a multi project based on maven 2.0.4, I would like to add the
> javadoc comments of our unit test code to the project's javadoc report.
> Every subproject's (aka module) has the standard maven directory layout.
>
> We use maven-javadoc-plugin versioin 2.2.
>
> I have tried to use this, but it does not work :-(
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-javadoc-plugin</artifactId>
> <version>2.2</version>
> <configuration>
>
> <sourcePath>${basedir}/src/main/java;${basedir}/src/test/java</sourcePath>
> <links>
> <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
> </links>
> </configuration>
> </plugin>
>
> I also tried with sourcepath instead of sourcePath, added subpackages
> but none.
>
> Any one has an idea?
>
> Thanks,
> Erez.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org