mirror of https://github.com/apache/maven.git
Use default excludes resources.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162818 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2fe989371b
commit
bf095942fc
|
@ -122,10 +122,14 @@ public class ResourcesMojo
|
|||
{
|
||||
includes = "**/**";
|
||||
}
|
||||
|
||||
List excludes = resource.getExcludes();
|
||||
|
||||
excludes.addAll( resource.getDefaultExcludes() );
|
||||
|
||||
List files = FileUtils.getFileNames( resourceDirectory,
|
||||
includes,
|
||||
listToString( resource.getExcludes() ),
|
||||
listToString( excludes ),
|
||||
false );
|
||||
|
||||
for ( Iterator j = files.iterator(); j.hasNext(); )
|
||||
|
|
Loading…
Reference in New Issue