Question: Does anyone has an example how to use the `sourceFileExcludes` element in the [Maven Javadoc Plugin](http://maven.apache.org/plugins/maven-javadoc-plugin/)? I've tried the following, but cannot get it to work:

```xml
<sourceFileExcludes>
    <sourceFileExclude>**/internal/*</sourceFileExclude>
    <sourceFileExclude>**/Model/*</sourceFileExclude>
</sourceFileExcludes>

```

Answer: 
Have you specified [excludePackageNames](http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#excludePackageNames), cause based on [the docs](http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#sourceFileExcludes) you should use them instead of what you've written.

```
<excludePackageNames>*.internal:org.acme.exclude1.*:org.acme.exclude2</excludePackageNames>

```

which seemed to be more approriate.
It might just not be working at the moment. There is bug logged in the plugin issue tracker - [MJAVADOC-365](http://jira.codehaus.org/browse/MJAVADOC-365)