Per the java spec the classpath line in the manifest.mf for a jar can only be a certain number of bytes. After that a line break is inserted and the new line begins with an
I was struggling ~8 hours.
Plexus archiver always repacks/restructures your MANIFEST file if even you specify custom one. Line breaks are always added (72 chars limitation)
There is no way to change this behaviour
plexus archiver code
I found the following workaround. I started using truezip-maven-plugin to update generated ear: