You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Amichai Rothman (JIRA)" <ji...@apache.org> on 2015/05/18 09:59:01 UTC

[jira] [Created] (MJAR-195) Add option to use unmodified existing manifest file

Amichai Rothman created MJAR-195:
------------------------------------

             Summary: 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


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)