You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2005/03/02 11:53:21 UTC

[jira] Created: (MPJAR-44) linefeeds in pom fields result in corrupt jar manifest

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAR-44

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAR-44
    Summary: linefeeds in pom fields result in corrupt jar manifest
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jar-plugin
   Versions:
             1.6

   Assignee: 
   Reporter: Timo Santasalo

    Created: Wed, 2 Mar 2005 5:52 AM
    Updated: Wed, 2 Mar 2005 5:52 AM
Environment: n/a

Description:
When the plugin creates manifest using data from pom, certain fields (such as shortDescription, I didn't test others but I see no reason why this issue won't affect them as well) doesn't seem to be properly filtered of disallowed characters, such as linefeeds.

For example, the following piece of pom:

  <shortDescription>
     blah blah
     blah blah
  </shortDescription>

...becomes in manifest something like this:

Specification-Title: blah blah
     blah blah

...resulting in corrupted manifest.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org