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

Incorrect -link is generated when its URL contains a comma

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.8
    • 2.8.1
    • None
    • None

    Description

      I consistently get this error when generating javadoc:

      Exit code: 1 - javadoc: error - Illegal package name: ""

      I tracked it down to how the plugin's options file is generated. The new Oracle JDK 1.5 javadoc link is this:
      http://download.oracle.com/javase/1,5,0/docs/api/

      There's a comma between the 1 and the 5. The comma is somehow being used as a separator for the plugin because this gets generated:

      -link
      'http://download.oracle.com/javase/1
      -link
      5.0/docs/api'

      Bascially, I can't generate 1.5 javadoc with the new Oracle link.

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            pbenedict Paul Benedict
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: