[英]sourceFileExcludes tag in the maven-javadoc-plugin
Does anyone has an example how to use the sourceFileExcludes
element in the Maven Javadoc Plugin ? 有没有人有一个例子如何在Maven Javadoc插件中使用sourceFileExcludes
元素? I've tried the following, but cannot get it to work: 我尝试了以下内容,但无法让它工作:
<sourceFileExcludes>
<sourceFileExclude>**/internal/*</sourceFileExclude>
<sourceFileExclude>**/Model/*</sourceFileExclude>
</sourceFileExcludes>
Have you specified excludePackageNames , cause based on the docs you should use them instead of what you've written. 您是否指定了excludePackageNames ,因为根据文档您应该使用它们而不是您编写的内容。
<excludePackageNames>*.internal:org.acme.exclude1.*:org.acme.exclude2</excludePackageNames>
which seemed to be more approriate. 这似乎更合适。
It might just not be working at the moment. 它可能暂时不起作用。 There is bug logged in the plugin issue tracker - MJAVADOC-365 插件问题跟踪器中记录了错误 - MJAVADOC-365
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.