From issues-return-53315-apmail-maven-issues-archive=maven.apache.org@maven.apache.org Tue Jun 02 17:50:02 2009 Return-Path: Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: (qmail 20750 invoked from network); 2 Jun 2009 17:50:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Jun 2009 17:50:02 -0000 Received: (qmail 53589 invoked by uid 500); 2 Jun 2009 17:50:13 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 53495 invoked by uid 500); 2 Jun 2009 17:50:13 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 53485 invoked by uid 99); 2 Jun 2009 17:50:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jun 2009 17:50:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jun 2009 17:50:03 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 8A36814A81AA for ; Tue, 2 Jun 2009 12:49:42 -0500 (CDT) Message-ID: <31537744.100291243964982547.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Tue, 2 Jun 2009 12:49:42 -0500 (CDT) From: =?ISO-8859-1?Q?Pablo_Gra=F1a_=28JIRA=29?= To: issues@maven.apache.org Subject: [jira] Created: (MJAVADOC-233) mvn javadoc:javadoc fails if project pom name contains multiple lines MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org 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.5 Environment: ubuntu 8.10, jdk 6. Reporter: Pablo Gra=F1a 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 - j= avadoc: 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 @optio= ns @packages This is the relevant pom fragment: =094.0.0 =09a.b =09aa =09ejb =09 a =09=09=09=09=09b =09 This is the relevant fragment of the target/site/apidocs/options file: -doctitle 'a =09=09=09=09=09b 2.1.1-SNAPSHOT API' -use -version -windowtitle 'a =09=09=09=09=09b 2.1.1-SNAPSHOT API'gpablo If I remove de line from the project name, it works fine. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira