The excludes are specified as an attribute instead of a FileSet, because determining the file paths this way takes milliseconds instead of seconds.