[ http://jira.codehaus.org/browse/MJAR-46?page=all ] Dennis Lundberg reopened MJAR-46: ---------------------------------
The reason for this not being found in the docs or SVN is that the code for this is in org.codehaus.plexus.archiver.jar.JarArchiver. This is a problem for plugins that use composite objects as configuration parameters. If the composite object is in another project (plexus-archiver in this case) it is very difficult to document the details of the composite object, so that it becomes available to the plugin user. > maven-jar-plugin doesn't accept <manfiestFile> element in configuration > ----------------------------------------------------------------------- > > Key: MJAR-46 > URL: http://jira.codehaus.org/browse/MJAR-46 > Project: Maven 2.x Jar Plugin > Type: Bug > Versions: 2.0 > Reporter: Sachin Patel > Assignee: Mike Perham > Priority: Blocker > > > The maven-jar-plugin does not accept the manfiestFile element in the > configuration as advertised. The error reported is... > [INFO] Failed to configure plugin parameters for: > org.apache.maven.plugins:maven-jar-plugin:2.1-SNAPSHOT > Cause: Cannot find setter nor field in > org.apache.maven.archiver.ManifestConfiguration for 'manifestFile' > Need to mark this as a blocker as their is no way to merge an existing > MANFIEST that is needed to build an eclipse-plugin. The MANIFEST entries > cannot be respecified in the plugin configuration because this would break > running the plugin in a eclipse runtime-workbench. Keeping the manifest > entires in the POM and in the MANIFEST file synchronized is too much > maintainance. Need to support merging an existing manifest file. -- 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