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

Custom manifest attributres are ignored.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.2-beta-2
    • None
    • None
    • Windows XP SP2
      Java JDK 1.5.0_07
      Maven 2.0.4

    Description

      Configure custom manifest entry in pom.xml
      <plugin>
      <artifactId>maven-assembly-plugin</artifactId>
      <version>2.1</version>
      <inherited>false</inherited>
      <executions>
      <execution>
      <phase>package</phase>
      <goals>
      <goal>attached</goal>
      </goals>
      <configuration>
      <descriptors>
      <descriptor>${basedir}/src/main/assembly/install.xml</descriptor>
      </descriptors>
      <outputDirectory>${project.build.directory}</outputDirectory>
      <workDirectory>${project.build.directory}/assembly/work</workDirectory>
      <archive>
      <manifest>
      <mainClass>com.company.Install</mainClass>
      </manifest>
      <manifestEntries>
      <mode>development</mode>
      </manifestEntries>
      </archive>
      </configuration>
      </execution>
      </executions>
      </plugin>
      Custom manifest entry "mode" does not appear in jar manifest (although main class entry does).

      Attachments

        1. massembly121.zip
          14 kB
          Bernd
        2. assembly-plugin.patch
          1 kB
          Paul Gier

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              tailwaggers Mark Reynolds
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: