Does anyone has an example how to use the sourceFileExcludes
element in the Maven Javadoc Plugin ? 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>*.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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.