You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vincent Siveton (JIRA)" <ji...@codehaus.org> on 2009/07/14 14:27:22 UTC

[jira] Updated: (MJAVADOC-233) mvn javadoc:javadoc fails if project pom name contains multiple lines

     [ http://jira.codehaus.org/browse/MJAVADOC-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton updated MJAVADOC-233:
-------------------------------------

    Affects Version/s:     (was: 2.5)
                       2.3

> mvn javadoc:javadoc fails if project pom name contains multiple lines
> ---------------------------------------------------------------------
>
>                 Key: MJAVADOC-233
>                 URL: http://jira.codehaus.org/browse/MJAVADOC-233
>             Project: Maven 2.x Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>         Environment: ubuntu 8.10, jdk 6.
>            Reporter: Pablo GraƱa
>
> If the project name in the pom contains a new line (at least a CR LF pair), mvn javadoc:javadoc fails with this error:
> [INFO] An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: error - Illegal package name: "2.1.1-SNAPSHOT"
> javadoc: error - Illegal package name: ""
> javadoc: error - Illegal package name: "2.1.1-SNAPSHOT"
> javadoc: error - Illegal package name: ""
> javadoc: warning - No source files for package b
> javadoc: warning - No source files for package API
> javadoc: warning - No source files for package b
> javadoc: warning - No source files for package API
> Command line was:/usr/lib/jvm/java-6-sun-1.6.0.10/jre/../bin/javadoc @options @packages
> This is the relevant pom fragment:
> 	<modelVersion>4.0.0</modelVersion>
> 	<groupId>a.b</groupId>
> 	<artifactId>aa</artifactId>
> 	<packaging>ejb</packaging>
> 	<name> a
> 					b
> 	</name>
> This is the relevant fragment of the target/site/apidocs/options file:
> -doctitle
> 'a
> 					b 2.1.1-SNAPSHOT API'
> -use
> -version
> -windowtitle
> 'a
> 					b 2.1.1-SNAPSHOT API'gpablo
> If I remove de line from the project name, it works fine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira