Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: 2.1
-
Component/s: None
-
Labels:None
-
Environment:distributed maven 2.0.2
-
Number of attachments :
Description
I've found a bug I consider critical (probably because it took me many hours to track down) if a multiline description is added to the pom
the jar manifest will be broken, terrible things will happen from there.
Attachments
Issue Links
| This issue duplicates: | ||||
| MJAR-4 | Multiline description provides invalid header in the generated jar files |
|
|
|
| This issue is related to: | ||||
| MPJAR-44 | linefeeds in pom fields result in corrupt jar manifest |
|
|
|
| MSHARED-34 | Plexus archiver creates corrupt JAR when TAB chars are present in description element in pom |
|
|
|
can you give more details? what sort of problems occur when multiline description is used?
concrete examples will be greatly appreciated, much better if you can attach your generated jar file.
so far the specification support multiline values. see the jar specification
— Specification snippet which applies to the Jar Manifest ----
newline : CR LF | LF | CR ( without LF )
value : SPACE *otherchar newline
*continuation
continuation : SPACE *otherchar newline
otherchar : any UTF-8 character except for NUL,CR & LF