views:

7

answers:

0

I've got a pom hierarchy where near the top level I have defined the maven-javadoc-plugin with an execution of javadoc-jar-sources. I've set includeDependencySources = true and then defined a whole bunch of dependencySourceExclude values (e.g.

<dependencySourceExclude>apache-oro:*</dependencySourceExclude>
<dependencySourceExclude>log4j:*</dependencySourceExclude>
<dependencySourceExclude>javax:*</dependencySourceExclude>

But in maven's output, it spits out message like "Unable to find resource 'log4j:log4j:jar:javadoc-resources:1.2.13".

Isn't the dependencySourceExclude supposed to be indicating to Maven NOT to bother with that package?

I've searched tons of pages on the plugin and on the web and can't seem to find concrete examples of using this plugin for sources other than the one commons-cli example (but THAT one is in my list and fails as well!)

Any ideas?