[ http://jira.codehaus.org/browse/MNG-1247?page=all ]
Brett Porter closed MNG-1247:
-----------------------------
Assign To: Brett Porter
Resolution: Won't Fix
> 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]