changing defaultResourcesDirectory to conventionMappings as well