Uploaded image for project: 'Maven JAR Plugin'
  1. Maven JAR Plugin
  2. MJAR-313

maven-jar-plugin sometimes doesn't add MANIFEST.MF as 1st or 2nd entry

    XMLWordPrintableJSON

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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kelemen Attila Kelemen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: