[ http://jira.codehaus.org/browse/MNG-1247?page=comments#action_50249 ]
Julien Dubois commented on MNG-1247: ------------------------------------ Even if it's the Manifest parser's fault, this should at least be documented clearly in the POM documentation. I've got the same problem on Mac OS X, and it's been quite diffcult to find out what was going on. BTW, my Java version is : java version "1.5.0_02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-56) Java HotSpot(TM) Client VM (build 1.5.0_02-36, mixed mode, sharing) > Remove carriage returns and tabs from field values in the manifest file > ----------------------------------------------------------------------- > > Key: MNG-1247 > URL: http://jira.codehaus.org/browse/MNG-1247 > Project: Maven 2 > Type: Bug > Components: maven-archiver > Versions: 2.0 > Environment: Windows XP, Java 5 > Reporter: Adrian > Assignee: Brett Porter > > > The code that generates manifest files needs to remove tabs and carriage > returns from the text values. > I discovered the bug when my description in the pom.xml spaned several lines > with tabs and carriage returns - this caused the following exception.. > java.io.IOException: invalid header field > By removing the tabs and carriage returns in the pom.xml I have temporarily > fixed the issue. > The manifest generated should look like .. > --------------------------------------------------------- > Manifest-Version: 1.0 > Archiver-Version: Plexus Archiver > Created-By: Apache Maven > Built-By: apill > Build-Jdk: 1.5.0_02 > Extension-Name: pics-model > Specification-Title: The core inventory model project defines the mode l for > cental storage for core inventory. > Specification-Vendor: Dolby Laboratories, Inc > Implementation-Vendor: Dolby Laboratories, Inc > Implementation-Title: pics-model > Implementation-Version: 0.1-SNAPSHOT > --------------------------------------------------------- > NOT LIKE > --------------------------------------------------------- > Manifest-Version: 1.0 > Archiver-Version: Plexus Archiver > Created-By: Apache Maven > Built-By: apill > Build-Jdk: 1.5.0_02 > Extension-Name: pics-model > Specification-Title: The core inventory model project defines the mode > l for cental > storage for core inventory. > Specification-Vendor: Dolby Laboratories, Inc > Implementation-Vendor: Dolby Laboratories, Inc > Implementation-Title: pics-model > Implementation-Version: 0.1-SNAPSHOT > ----------------------------------------------------------- -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
