[ http://jira.codehaus.org/browse/MASSEMBLY-332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Casey closed MASSEMBLY-332. -------------------------------- Resolution: Fixed Fix Version/s: 2.2-beta-6 Assignee: John Casey this has been fixed for some time now, marking fixed now (at least). > MANIFEST.MF is not used when specified in configuration for a WAR format > assembly > --------------------------------------------------------------------------------- > > Key: MASSEMBLY-332 > URL: http://jira.codehaus.org/browse/MASSEMBLY-332 > Project: Maven 2.x Assembly Plugin > Issue Type: Bug > Affects Versions: 2.2-beta-2 > Reporter: Julien Simon > Assignee: John Casey > Priority: Minor > Fix For: 2.2-beta-6 > > Attachments: MASSEMBLY-332-maven-assembly-plugin.patch, > maven_project.zip > > > When you try to specify a manifestFile for an assembly with *war* format, > the manifest file specified is not used. > I have attached a zip archive which contains a maven project that reproduces > the bug. The assembly generated during the package phase and named > myArtifactId-1.0.0-source.war contains a manifest file, but not the one > specified in the maven-assembly-plugin configuration in the pom. > I tried different versions 2.1 and 2.2-beta-2 with jar and war assembly > formats, here's the behavior description: > maven-assembly *2.1* + *war* assembly format >>>>>>> good > manifest file included > maven-assembly *2.2-beta-2* +*war* assembly format >>>>>>> empty manifest > file > maven-assembly *2.1* + *jar* assembly format >>>>>>> good > manifest file included > maven-assembly *2.2-beta-2* + *jar* assembly format >>>>>>> good manifest > file included > > The workaround is to use version 2.1 of the maven-assembly-plugin. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira