Gathering javadocs from multimodule maven project

65 views Asked by At

In a large maven multimodule context,

how can I gather javadoc-comments programmatically for a specific set of classes (e.g. all classes implementing some interface) or modules ?

I have tried a stupid doclet and looked at QDox, but neither seems to do the job well.

Actually I think this should be simple if done correctly.

Specifically, I do not know how to do this in a maven-build: How can I depend on and use the src-jars?

1

There are 1 answers

0
Robert Scholte On

This should be possible with QDox, as long as you have the sources. QDox-2.x can also read source-files from jars, which can be generated by the maven-source-plugin.