[ 
https://issues.apache.org/jira/browse/MJAR-248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16402470#comment-16402470
 ] 

jieryn commented on MJAR-248:
-----------------------------

I'd just like an option to skip the generation of the MANIFEST.MF file. There 
are a couple of modules in my projects which, e.g., need the manifest because 
they specify a Main-Class. However, the vast majority of my projects do not 
need the manifest.

I computed the rough percentages by exploding the built jar and then adding up 
the file sizes for the manifest and (often) the lone class file in the jar. 
They equal the file size of the raw jar file, and then I just do a quick 
division of the byte size for the manifest versus the class file. I'm finding 
many modules where we're at 20-25% of the jar size.

Disk is cheap, I get it. However, I still have to transfer all those bytes 
across multiple networks in our company, some which are very geographically 
dispersed.

Thanks for the consideration of this option feature request.

> option to prevent META-INF/MANIFEST.MF creation
> -----------------------------------------------
>
>                 Key: MJAR-248
>                 URL: https://issues.apache.org/jira/browse/MJAR-248
>             Project: Maven JAR Plugin
>          Issue Type: New Feature
>            Reporter: jieryn
>            Priority: Minor
>
> The META-INF/MANIFEST.MF represents 20-25% of many of my highly-modularized 
> project's byte size. It would be very nice to be able to prevent the creation 
> of that file in my jars.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to