Maven 2.x Assembly Plugin

manifestEntries are not set in resulting jar

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.1
  • Fix Version/s: 2.2-beta-2
  • Component/s: None
  • Labels:
    None
  • Environment:
    maven 2.0.5, windows/linux
  • Number of attachments :
    0

Description

archive manifestEntries are not set in resulting jar. even so the mainClass is set properly.
assembly format is jar

Example:
<configuration>
<attach>true</attach>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>assembly.xml</descriptor>
</descriptors>
<archive>
<manifest>
<mainClass>org.microemu.app.Main</mainClass>
</manifest>
<manifestEntries>
<Build-Number>${label}</Build-Number>
<Build-Time>${cctimestamp}</Build-Time>
</manifestEntries>
</archive>
</configuration>

full pom is here: http://microemulator.svn.sourceforge.net/viewvc/microemulator/trunk/microemulator/microemulator/

Issue Links

Activity

Hide
John Casey added a comment -

verified that this is working in trunk (2.2-beta-2-SNAPSHOT).

Show
John Casey added a comment - verified that this is working in trunk (2.2-beta-2-SNAPSHOT).
Hide
Petar Tahchiev added a comment -

I am currently using 2.2-beta2 and it is not working.

Show
Petar Tahchiev added a comment - I am currently using 2.2-beta2 and it is not working.

People

Vote (3)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: