Add support for WAR files in the dummy patches