Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-445

Surefire-Booter Manifest not correct

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4
    • 2.4.2
    • 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.

      Attachments

        1. sources.zip
          5 kB
          Joerg Lauer
        2. surefire-booter-patch.diff
          5 kB
          Joerg Lauer

        Activity

          People

            Unassigned Unassigned
            jlauer Joerg Lauer
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: