Adding and Filtering External Web Resources. The default resource directory for all Maven projects is srcmainresources which will end up in targetclasses and in WEBINFclasses in the WAR. The directory structure will be preserved in the process. The WAR Plugin is also capable of including resources not found in the default resource directory through the webResources parameter.