Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-404

Goal resource-bundle generates faulty JAR file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.9.1
    • 2.10.4
    • None
    • None
    • Maven 3.0.4, Windows 7

    Description

      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:

       src/main/javadoc/foo
       src/main/javadoc/bar
       

      The generated javadoc-resources jar then contains the following structure:

       META-INF/
       resources/
       resourcesfoo/
       resourcesbar/
       

      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.

      Attachments

        1. resource-bundle-showcase.zip
          3 kB
          Holger Mense
        2. ResourcesBundlesMojo.java.patch
          0.7 kB
          Holger Mense

        Activity

          People

            michael-o Michael Osipov
            p2501 Holger Mense
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: