[
https://jira.codehaus.org/browse/MJAVADOC-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=353957#comment-353957
]
Nicholas Williams commented on MJAVADOC-365:
--------------------------------------------
Can anyone even respond to this bug? It's pretty frustrating, and the subject
of a reasonably popular [StackOverflow
question|http://stackoverflow.com/questions/14518220/maven-how-do-i-exclude-specific-source-files-from-javadoc/26223872#26223872].
> [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)