[ https://jira.codehaus.org/browse/MEAR-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=317489#comment-317489 ]
Guillaume Boucherie commented on MEAR-162: ------------------------------------------ In fact I think that the MANIFEST.MF will never be update because the org.codehaus.plexus.archiver.jar.Manifest getters (getMainSection and getSection) return new instance of Section object, so changes made on this instance will never impact current Manifest instance. If it could help I create a patch (it include the one provided by Laszlo Varadi) that contains an update skinny war it test, that test the MANIFEST.MF generated classpath. > skinnyWars with wars without manifest Class-Path attribute > ---------------------------------------------------------- > > Key: MEAR-162 > URL: https://jira.codehaus.org/browse/MEAR-162 > Project: Maven 2.x Ear Plugin > Issue Type: Bug > Affects Versions: 2.8 > Reporter: Laszlo Varadi > Attachments: EarMojo.patch, MEAR-162.patch > > > The classpath attribute should be set after populating with values, otherwise > the classpath will be empty in the war manifest in case when the attribute is > a newly created attribute. See patch. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira