Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4
-
None
-
None
Description
The manifest of the jar file created by the surefire-booter seems to be written incorrectly. For one, it is missing the Manifest-Version, which according to the spec is required.
I noticed because some tests were failing to be executed only for specific users. I have so far been unable to find the exact problem. But after patching the ManifestWriter to use the java.util.jar packages and the ForkConfiguration and ManifestWriterTest to set the Manifest-Version it seems to work fine.
I have attached the diff and the complete source code for the three patched classes to this issue.