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

Michael Osipov commented on MWAR-446:
-------------------------------------

I did a bit of analysis. The issue is not in Plexus Archiver because there is a 
test which guarantees that ZIP types aren't recompressed:
{noformat}
$ zipinfo dont-recompress-added-zips.zip
Archive:  dont-recompress-added-zips.zip
Zip file size: 3368 bytes, number of entries: 5
-rw-r--r--  2.0 unx      383 b- defN 21-Dec-19 15:02 test.tar.gz
-rw-r--r--  2.0 unx      157 b- stor 21-Dec-19 15:02 test.zip
-rw-r--r--  2.0 unx      167 b- stor 21-Dec-19 15:02 namelessrootfolder.jar
-rw-r--r--  2.0 unx     1070 b- stor 21-Dec-19 15:02 test.jar
-rwxr-xr-x  2.0 unx     1070 b- stor 21-Dec-19 15:02 test.rar
5 files, 2847 bytes uncompressed, 2852 bytes compressed:  -0.2%
{noformat}

So the bug must be either in MWAR or MARCHIVER.

> Add an option to put libs in STORED mode (instead of DEFLATED)
> --------------------------------------------------------------
>
>                 Key: MWAR-446
>                 URL: https://issues.apache.org/jira/browse/MWAR-446
>             Project: Maven WAR Plugin
>          Issue Type: New Feature
>            Reporter: Gaƫl Lalire
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to