[
https://jira.codehaus.org/browse/MJAVADOC-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=354016#comment-354016
]
Robert Scholte commented on MJAVADOC-365:
-----------------------------------------
The patch is missing a test to confirm that without the patch it fails and that
the patch indeed fixes this issue. In this case have a look at
[src/it|http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/it/]
for examples.
> [Patch] sourceFileExcludes does not work due to inclusion of packages
> ---------------------------------------------------------------------
>
> Key: MJAVADOC-365
> URL: https://jira.codehaus.org/browse/MJAVADOC-365
> Project: Maven 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 was sent by Atlassian JIRA
(v6.1.6#6162)