[ https://issues.apache.org/jira/browse/MJAR-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14573688#comment-14573688 ]
Amichai Rothman commented on MJAR-195: -------------------------------------- Was this fixed in newer versions? At least in Maven 3.0.5 (which is still the stock mvn in latest Ubuntu 15.04), it does not. See attached sample project. The generated manifest entries are shuffled, and some entries are added, as described in the report above. > 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 > > 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)