One thing to keep in mind is filtering/interpolation of ${some-key} -expressions. But I think it is possible to do it without temporary folder.
Robert On 2-7-2021 07:18:14, Cai, Eric <we...@ebay.com.invalid> wrote: We have a large web project and there is large numbers of dependencies. When we run "mvn war:war", it usually takes 40s+ to build a war (~ 600MB) on a windows 10 box and 15s + with a mac book. By checking the war-plugin code, we know the plugin need first copy files necessary to a folder under project dir (exploded war), then archive the entire folder. Copying the files to a new folder actually take a long time. My question is: Does it make sense to modify war-plugin to skip building the exploded war and directly create archive with original files? I think it can save quite a bit time. src/main/webapp -> archive target/classes -> archive ... Any impacts if the exploded war is not created? Thanks, Eric