You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Kristian Rosenvold <kr...@apache.org> on 2013/01/09 10:25:17 UTC

Please changed behaviour of maven-war-plugin and maven-assembly-plugin

war-plugin 2.3 and assembly-plugin 2.4 both learned the
"recompressZippedFiles" flag, which has a default value of "false".

When this value is "false", both plugins will sniff filers being added
for the 4 byte ZIP header and avoid recompressing
files that are already zipped.

Selecting "false" as default doubles the performance of these (quite
slow) plugins, at the risk of creating a somewhat larger archive file.

This change of behaviour will be troublesome if you make uncompressed
jar files by default and rely on war/assembly to zip them, in which
case you may want to set recompressZippedFiles to true. It may also be
a good idea to set recompressZippedFiles to "true" in a release
profile.

Kristian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org