Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.8
-
Fix Version/s: 2.8.1
-
Labels:None
-
Environment:HideMaven 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"ShowMaven 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"
-
Number of attachments :
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.
I can verify a spurious -link gets generated for each comma in the <link> element. BTW, I configured my plugin in the <build> section.