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

Inproper Handling of Tag Definitions

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2
    • 2.3
    • None
    • None
    • JDK 1.5.0_12, Win32

    Description

      Consider the following POM snippet for the Javadoc plugin:
      <tags>
      <tag>
      <name>generatorClass</name>
      <head>Generator Class:</head>
      <placement>t</placement>
      </tag>
      <tag>
      <name>version</name>
      </tag>
      <tags>

      This leads to the following contents of the options file passed to javadoc:
      -tag
      "generatorClass:t:'Generator Class:'"
      instead of
      -tag
      generatorClass:t:"Generator Class:"
      -tag
      version

      The single quotation marks produced by the plugin will make it into the generated HTML output which is not intended. Likewise, specifying the version tag should allow to reorder the standard tags but the plugin will simply drop the setting because no further tag option is provided:
      A tag option is empty. Ignore this option.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            siveton Siveton Vincent
            bentmann Benjamin Bentmann
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment