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

Goal resource-bundle generates faulty JAR file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9.1
    • Fix Version/s: 2.10.4
    • Component/s: None
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: