When building maven webapp by using mvn install
or mvn compile war:war
on two different machines resulting WAR files have 20MB difference and their build times are 1 and a half minutes apart (30s vs 2min)
By inspecting war files using WinRAR I've noticed that smaller WAR does not contain WEB-INF\classes\WEB-INF and WEB-INF\classes\resource folders.
The whole codebase is the same. POM.xml contains maven-compiler-plugin
, webapp and unit tests run well on both apps with difference that smaller WAR seems to not have included properties files for language locality.