Hi,

I have attempted to use the javadocDirectory plugin of the
maven-javadoc-plugin. In 2.4, this parameter is documented like this:

    Specifies the Javadoc ressources directory to be included in the
Javadoc (i.e. package.html, images...).

I read this like I could use the parameter for the typical Apache use
case (add NOTICE.txt and LICENSE.txt files). However, obviously this
won't work.

First of all, it seems that the parameter is used only when generating
a report: Within javadoc:jar the method copyJavadocResources is never
invoked. Second, the implementation is based on a call

    FileUtils.getDirectoryNames( javadocDir, "**/doc-files",
StringUtils.join( FileUtils
                .getDefaultExcludes(), "," ), false, true )

which I do not understand at all. Why should I have a directory "doc-files"?

Are these bugs that we should fix? Otherwise: Could we add a
"resources" parameter to the javadoc plugin?

Thanks,

Jochen


--
Look, that's why there's rules, understand? So that you think before
you break 'em.

 -- (Terry Pratchett, Thief of Time)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to