You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Benedict (JIRA)" <ji...@codehaus.org> on 2011/09/02 06:41:32 UTC

[jira] Commented: (MJAVADOC-325) Incorrect -link is generated for 1.5

    [ https://jira.codehaus.org/browse/MJAVADOC-325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=277603#comment-277603 ] 

Paul Benedict commented on MJAVADOC-325:
----------------------------------------

I can verify a spurious -link gets generated for each comma in the <link> element. BTW, I configured my plugin in the <build> section.

> 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