On 5 May 2006, at 03:03, Maria Odea Ching wrote:

Hi Rob,

I think you should put the plugin configuration in the <build> section and execute "mvn javadoc:javadoc".

Hi. Thanks for the reply.

I did try this first, but got the same result.

If it's in the <reporting> section, you should execute "mvn site" instead..

Tried this, but got everything BUT the javadoc (impressive though the result is).

I just tracked down the source repository (maven website > Quick Links > How to Help > Developer Resources > SVN via the webserver), downloaded and built the maven-javadoc-plugin project from source, ran 'mvn javadoc:javadoc' on the parent project, and bingo, it worked--the javadoc for all the subprojects in one hierarchy!

So the answer is yes, there's a bug in the released version (2.0- beta-3), which has been fixed in the latest source (2.0-SNAPSHOT).


Thanks,
Odea

Rob Dickens wrote:

Dear Maven Users,

I can't get this to work. Looking back at previous posts, it appears there might be a bug.

Do I need to build maven-javadoc-plugin from source? If so, could somebody let me know where this can be found.

What I have is a parent project (pom packaging) and several subprojects (jar packaging), where each subproject's pom.xml inherits from that of the parent.

I put the following in the parent project's pom.xml,

  <reporting>
    <plugins>
      <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-javadoc-plugin</artifactId>
    <configuration>
      <aggregate>true</aggregate>
    </configuration>
      </plugin>
    </plugins>
  </reporting>

and did a 'mvn javadoc:javadoc' on this, hoping to generate javadoc for all the subproject packages in one place. However, what I got was javadoc in each of the subproject targets, but an empty target/ javadoc/apidocs/index.html in the parent.

Please could somebody help.

Thanks,

Rob

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

Reply via email to