Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-986

Minimal default Manifest configuration of jar archiver should be respected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.6.0
    • None
    • None

    Description

      When we configure plugin with:

      <archive>
        <manifest>
          <addDefaultEntries>false</addDefaultEntries>
         </manifest>
      </archive>
      

      like in Maven Assembly Plugin "reproducible" IT (https://github.com/apache/maven-assembly-plugin/blob/f73f48fc68d44ac2bc1ffd5e1241c427c2885522/src/it/projects/reproducible/pom.xml#L42), we expect that minimal Manifest will be created with content:

      Manifest-Version: 1.0
      

      but we have:

      Manifest-Version: 1.0
      Created-By: Plexus Archiver 4.6.0
      

      Manifest content depends on version of Plexus Archiver and in such case change output binary, then break Reproducible Builds IT checksum for the plugin (as in MASSEMBLY-987).

      Attachments

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              sjaranowski Slawomir Jaranowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: