[
http://jira.codehaus.org/browse/MSHARED-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brett Porter moved MNG-2542 to MSHARED-27:
------------------------------------------
Affects Version/s: (was: 2.0.4)
Fix Version/s: (was: Shared Components)
Component/s: (was: maven-archiver)
Key: MSHARED-27 (was: MNG-2542)
Project: Maven Shared Components (was: Maven 2)
> Remove carriage returns and tabs from field values in the manifest file
> -----------------------------------------------------------------------
>
> Key: MSHARED-27
> URL: http://jira.codehaus.org/browse/MSHARED-27
> Project: Maven Shared Components
> Issue Type: Bug
> Reporter: Tim O'Brien
> Assignee: Olivier Lamy
>
> When creating a JAR Manfiest, maven needs to remove CR and Tabs from the
> description taken from the POM.
> This is a critical issue with JAR files created from Maven. The issue is
> that Maven can create a MANIFEST file for a JAR, but it creates an invalid
> manifest if you jsut happen to have a description in your POM like thi:
> <description>
> this is an library for idiots
> </description>
> The issue is that your description element has new line characters and thejar
> plugin just take those new line characters and blindly copies them into the
> Manfiest, creating an invalid Manifest. This doesn't show up until you try
> to use the JAR in another application. Then you get a very cryptic error
> message about having an invalid jar.
> This used to be 1247 but it was closed and marked as Won't Fix with no
> explanation as to why it isn't worth fixing.
--
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