Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
-
None
Description
In certain situations (not sure what is the exact condition required), the Maven jar plugin doesn't add the MANIFEST.MF as the 1st or 2nd entry. This can be a problem (even though technically the spec doesn't have such a requirement), because such a jar file cannot be read with the core JDK class JarInputStream.
A project this can be reproduced with is JDBI. See the https://github.com/jdbi/jdbi/issues/2698 for details.