有谁有在Maven Javadoc Plugin中使用sourceFileExcludes元素的例子吗?我尝试了以下方法,但无法正常工作:
<sourceFileExcludes>
<sourceFileExclude>**/internal/*</sourceFileExclude>
<sourceFileExclude>**/Model/*</sourceFileExclude>
</sourceFileExcludes>发布于 2012-11-20 15:24:33
您是否指定了excludePackageNames,因为基于the docs,您应该使用它们,而不是您已经编写的内容。
<excludePackageNames>*.internal:org.acme.exclude1.*:org.acme.exclude2</excludePackageNames>这样看起来更合适。
发布于 2014-10-07 03:54:35
它目前可能就是不起作用。插件问题跟踪器中记录了错误- MJAVADOC-365
https://stackoverflow.com/questions/13465674
复制相似问题