[
https://jira.codehaus.org/browse/MJAVADOC-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=354333#comment-354333
]
Holger Mense commented on MJAVADOC-404:
---------------------------------------
Attached patch against HEAD to fix this issue.
> Goal resource-bundle generates faulty jar file
> ----------------------------------------------
>
> Key: MJAVADOC-404
> URL: https://jira.codehaus.org/browse/MJAVADOC-404
> Project: Maven Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.9.1
> Environment: Maven 3.0.4, Windows 7
> Reporter: Holger Mense
> Attachments: resource-bundle-showcase.zip,
> ResourcesBundlesMojo.java.patch
>
>
> Hi,
> I am generating a javadoc-resources jar using resource-bundle goal. My
> project has
> additional JavaDoc resources in directory {{src/main/javadoc}} which contains
> several
> subdirectories. So the file structure is as follows:
> {noformat}
> src/main/javadoc/foo
> src/main/javadoc/bar
> {noformat}
> The generated javadoc-resources jar then contains the following structure:
> {noformat}
> META-INF/
> resources/
> resourcesfoo/
> resourcesbar/
> {noformat}
> There seems to be a directory separator missing when generating the
> destination directory structure.
> See attached showcase as example. Generated result is already included in
> {{target/ directory}}.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)