Affects Version/s: None
Fix Version/s: None
Number of attachments :
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:
this is an library for idiots
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.
|Field||Original Value||New Value|
|Fix Version/s||Reviewed [ 13555 ]|
|Fix Version/s||Reviewed Pending Version Assignment [ 13555 ]|
|Component/s||maven-archiver [ 11520 ]|
|Fix Version/s||Shared Components [ 13561 ]|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Assignee||Olivier Lamy [ olamy ]|
|Resolution||Fixed [ 1 ]|