[ https://jira.codehaus.org/browse/MJAVADOC-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=342771#comment-342771 ]
Benson Margulies edited comment on MJAVADOC-388 at 3/11/14 8:54 PM: -------------------------------------------------------------------- The problem is this line: List<String> packageNames = getPackageNames( sourcePaths, files ); This sets 'packageNames', unconditionally. Then, later on, if packageNames is sets, the code ignores the file list and just uses the package list. It's as if the author of the subsequent if statement thought that 'packageNames' corresponded to some explicit configuration instead of being calculated from the sourcePaths and the files. was (Author: bmargulies): The problem is this line: List<String> packageNames = getPackageNames( sourcePaths, files ); once packageNames it set, then the explicit file name list is ignored. > sourceFileIncludes/Excludes are ineffective > ------------------------------------------- > > Key: MJAVADOC-388 > URL: https://jira.codehaus.org/browse/MJAVADOC-388 > Project: Maven Javadoc Plugin > Issue Type: Bug > Reporter: Benson Margulies > Attachments: MJAVADOC-388-it.patch > > > It is claimed that these options don't work. I will create an IT and either > fix this or close it. -- This message was sent by Atlassian JIRA (v6.1.6#6162)