Hi Zhang, All MANIFEST.MF files that contain lines longer than 72 bytes are invalid, according to the Jar Manifest specification. That's why the plugin splits them, which is the only way to create a valid manifest. And no, AFAIK, you can not force the plugin to create invalid manifest files.
Here is the specification extract: - Line length: No line may be longer than 72 bytes (not characters), in its UTF8-encoded form. If a value would make the initial line longer than this, it should be continued on extra lines (each starting with a single SPACE). You can find the spec here: http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#Notes on Manifest and Signature Files Cheers Jo On 6/8/07, 張旭 <[EMAIL PROTECTED]> wrote:
Dear friends, I have encountered a strange problem when specify custom manifest file when using the maven-jar-plugin. I've a very very long line in the manifest file that maybe have hundreds columns. It seems that the plug-in will automatically wrap the line every 70 cols. Is there a parameter in configuration that can override the default behavior? Thanks in advance.
