warSourceExcludes: The comma separated list of tokens to exclude when copying the content of the warSourceDirectory.
packagingExcludes: The comma separated list of tokens to exclude from the WAR before packaging.
With packagingExcludes, the tokens are completely excluded from the final war file.
With warSourceExcludes, the tokens are just ignored when copying the war directory into the war file.
As a result, if the tokens are present in the webappDirectory for example, they will not be ignored when using warSourceExcludes but will be when usingpackagingExcludes.