[英]maven-javadoc-plugin failure due to StringIndexOutOfBoundsException
[英]sourceFileExcludes tag in the maven-javadoc-plugin
有没有人有一个例子如何在Maven Javadoc插件中使用sourceFileExcludes
元素? 我尝试了以下内容,但无法让它工作:
<sourceFileExcludes>
<sourceFileExclude>**/internal/*</sourceFileExclude>
<sourceFileExclude>**/Model/*</sourceFileExclude>
</sourceFileExcludes>
您是否指定了excludePackageNames ,因为根据文档您应该使用它们而不是您编写的内容。
<excludePackageNames>*.internal:org.acme.exclude1.*:org.acme.exclude2</excludePackageNames>
这似乎更合适。
它可能暂时不起作用。 插件问题跟踪器中记录了错误 - MJAVADOC-365
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.