Description
Here is the output of version 2.1.1 of the maven war plugin when overlaying org.cometd.javascript:cometd-javascript-dojo:
[INFO] --- maven-war-plugin:2.1.1:war (default-war) @ tutorials-skeleton ---
[INFO] Packaging webapp
[INFO] Assembling webapp [tutorials-skeleton] in [/home/simon/opensource/cometd/tutorials-skeleton/target/tutorials-skeleton-1.0.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [/home/simon/opensource/cometd/tutorials-skeleton/src/main/webapp]
[INFO] Processing overlay [ id org.cometd.javascript:cometd-javascript-dojo]
[INFO] Webapp assembled in [7026 msecs]
Note how it took 7026 ms.
This is the output for the same project, but using version 2.2 of the maven war plugin:
[INFO] --- maven-war-plugin:2.2:war (default-war) @ tutorials-skeleton ---
[INFO] Packaging webapp
[INFO] Assembling webapp [tutorials-skeleton] in [/home/simon/opensource/cometd/tutorials-skeleton/target/tutorials-skeleton-1.0.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [/home/simon/opensource/cometd/tutorials-skeleton/src/main/webapp]
[INFO] Processing overlay [ id org.cometd.javascript:cometd-javascript-dojo]
[INFO] Webapp assembled in [24151 msecs]
Note how it took 24151 ms, i.e. a 3-4 times performance hit.