简体   繁体   中英

Gathering javadocs from multimodule maven project

In a large maven multimodule context,

how can I gather javadoc-comments programmatically for a specific set of classes (eg 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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM