当我使用 maven-javadoc-plugin 的标志includeDependencySources
和dependencySourceInclude
(请参阅manual)将来自特定程序包的javadocs包含到我的项目中时,例如:
<configuration>
<includeDependencySources>true</includeDependencySources>
<dependencySourceIncludes>
<dependencySourceInclude>my.project:*</dependencySourceInclude>
</dependencySourceIncludes>
</configuration>
然后Maven从项目的 all 依赖项中下载 all (!)javadocs。这需要很多时间(
(幸运的是,Maven仅将指定的javadocs包括到项目中...)
有人知道如何告诉Maven避免下载所有javadocs并仅下载指定的文档(my.project:*)吗?
(我使用maven-javadoc-plugin v3.0.0)