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

Generated WAR file does not contain the same default manifest entries as created by the Maven WAR Plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.5.2
    • None
    • manifest, maven-archiver
    • None

    Description

      I am repackaging a WAR file with some files exchanged. The original file contains following manifest entries:

      Manifest-Version: 1.0
      Built-By: osipovmi
      Build-Jdk: 1.7.0_55
      Created-By: Apache Maven 3.2.2
      Archiver-Version: Plexus Archiver
      

      The MANIFEST.MF generated by this plugin looks like:

      Manifest-Version: 1.0
      Created-By: 24.55-b03 (Oracle Corporation)
      Archiver-Version: Plexus Archiver
      

      while the descriptor looks very simple:

      <assembly
          xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
          <id>deployable</id>
          <formats>
              <format>war</format>
          </formats>
          <includeBaseDirectory>false</includeBaseDirectory>
          <dependencySets>
              <dependencySet>
                  <unpack>true</unpack>
                  <useProjectArtifact>false</useProjectArtifact>
              </dependencySet>
          </dependencySets>
      </assembly>
      

      Attachments

        1. massembly-737.zip
          2 kB
          Michael Osipov

        Activity

          People

            Unassigned Unassigned
            michael-o Michael Osipov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: