[
https://jira.codehaus.org/browse/MJAVADOC-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=323969#comment-323969
]
Michael Bayne commented on MJAVADOC-365:
----------------------------------------
Oops, logic was reversed in that patch. That's what I get for changing the
patch after testing it. Correct patch is:
- if ( !packageNames.isEmpty() )
+ // if we have source file excludes, we want to pass a list of source
files to
+ // Javadoc rather than a list of package names
+ if ( !packageNames.isEmpty() && sourceFileExcludes == null)
> [Patch] sourceFileExcludes does not work due to inclusion of packages
> ---------------------------------------------------------------------
>
> Key: MJAVADOC-365
> URL: https://jira.codehaus.org/browse/MJAVADOC-365
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.9
> Reporter: Michael Bayne
> Attachments: patch
>
>
> If you specify sourceFileExcludes for Javadoc generation, they are ignored,
> because the plugin always supplies a list of packages to Javadoc instead of a
> list of source files.
> This is easily remedied with the attached patch. It causes the plugin to
> switch to "pass a list of source files to Javadoc" mode if any
> sourceFileExcludes are supplied.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira