[ https://issues.apache.org/jira/browse/MJAR-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14573696#comment-14573696 ]
Karl Heinz Marbaise edited comment on MJAR-195 at 6/4/15 10:34 PM: ------------------------------------------------------------------- You seemed to mistaken Maven version and maven-jar-plugin version. The [maven-jar-plugin already supported that in version 2.4|http://maven.apache.org/plugins-archives/maven-jar-plugin-2.4/jar-mojo.html]. was (Author: khmarbaise): You seemed to mistaken Maven version and maven-jar-plugin. The [maven-jar-plugin already supported that in version 2.4|http://maven.apache.org/plugins-archives/maven-jar-plugin-2.4/jar-mojo.html]. > Add option to use unmodified existing manifest file > --------------------------------------------------- > > Key: MJAR-195 > URL: https://issues.apache.org/jira/browse/MJAR-195 > Project: Maven JAR Plugin > Issue Type: Bug > Affects Versions: 2.6 > Reporter: Amichai Rothman > Assignee: Karl Heinz Marbaise > Attachments: mftest.tgz > > > Currently, the jar plugin performs various manipulations on the manifest > file, such as adding some entries and shuffling their order, and lacks > functionality such as removing entries (there are separate issues for those). > The workaround for these should be the ability to use an existing manifest > file, whether hand-crafted or generated by other means such as ant, however > the jar plugin seems to always modify the manifest just before adding it to > the jar, thus preventing any such workaround from working. > Please add a configuration option that causes the jar plugin to simply use an > existing manifest file (e.g. one specified via manifestFile) without > modifying it in any way - just copying it as-is into the generated jar file. -- This message was sent by Atlassian JIRA (v6.3.4#6332)