Incorrect -link is generated for 1.5
------------------------------------

                 Key: MJAVADOC-325
                 URL: https://jira.codehaus.org/browse/MJAVADOC-325
             Project: Maven 2.x Javadoc Plugin
          Issue Type: Bug
    Affects Versions: 2.8
         Environment: Maven home: c:\apache-maven-3.0.3\bin\..
Java version: 1.6.0_22, vendor: Sun Microsystems Inc.
Java home: C:\Progra~2\Java\jdk1.6.0_22\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
            Reporter: Paul Benedict

I consistently get this error when generating javadoc:
bq. 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:

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

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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to