maven-javadoc-plugin sourceFileExcludes not working -
i'm not sure right way use tag, use this:
<sourcefileexcludes> <exclude></exclude> <exclude></exclude> </sourcefileexcludes>
it doesn't work @ all. seems there known bug in maven tag won't work found these threads: https://stackoverflow.com/a/26223872/3209177
but while ago. didn't find useful information on maven website well.
so how can exclude source files / classes while build javadoc using maven?
finally figured out.
first, there known bug tracked in page: https://issues.apache.org/jira/browse/mjavadoc-365 , patch went plugin 2.10.2. after version, bug fixed. however, using earlier version.
second, use schema:
<sourcefileexcludes> <sourcefileexclude></sourcefileexclude> <sourcefileexclude></sourcefileexclude> </sourcefileexcludes>
to exclude file.
third, in sourcefileexclude, used someclass.java, not right. instead, used someclass.* , works me.