Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPJAR-23

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAR-23
    Summary: shortDescription can produce "invalid manifest format"
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: 2 hours
 Time Spent: Unknown
  Remaining: 2 hours

    Project: maven-jar-plugin

   Assignee: Jason van Zyl
   Reporter: bryan thompson

    Created: Mon, 5 Apr 2004 4:00 PM
    Updated: Mon, 5 Apr 2004 4:00 PM
Environment: Windows, JDK1.4.1

Description:
The content of the shortDescription element from the POM is used when generating the 
JAR manifest.  Leading and trailing newlines currently are passed through, which 
results in an "invalid manifest format", e.g., when trying to start a web application 
that bundles a JAR created by Maven.

Recommendation: Strip leading and trailing whitespace before writing the JAR manifest 
and truncate at 72 characters for backwards compatibility with some broken JAR 
processers.  Emit a warning message if the shortDescription length is more than 72 
characters.  Update the maven POM documentation to reflect that the JAR manifest uses 
this information and these constraints on the legal content of the shortDescription 
POM property.


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to