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.