Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在大型 Maven 多模块上下文中,
如何以编程方式为一组特定的类(例如所有实现某个接口的类)或模块收集 javadoc 注释?
我尝试了一个愚蠢的doclet并查看了QDox,但似乎都不能很好地完成这项工作。
实际上,我认为如果做得正确,这应该很简单。
具体来说,我不知道如何在 maven-build 中执行此操作:我如何依赖和使用 src-jars?
只要您有资源,QDox 就应该可以做到这一点。QDox-2.x 还可以从 jars 中读取源文件,这些文件可以由 maven-source-plugin 生成。