diff --git a/maven-plugins/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java b/maven-plugins/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java index 110ca72c67..1c6964ed2f 100644 --- a/maven-plugins/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java +++ b/maven-plugins/maven-resources-plugin/src/main/java/org/apache/maven/plugin/resources/ResourcesMojo.java @@ -122,9 +122,9 @@ public class ResourcesMojo { includes = "**/**"; } - + List excludes = resource.getExcludes(); - + excludes.addAll( resource.getDefaultExcludes() ); List files = FileUtils.getFileNames( resourceDirectory,