Should be #setExcludes(String[]) since there is no method #setExcludes(List) in the class. This prevents code navigation in IDE.