PR: MNG-1038

Submitted by: Edwin Punzalan
fix warSourceExcludes issue


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321331 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-10-15 13:18:01 +00:00
parent 9b9b349811
commit eb6fed83ca
1 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ import org.codehaus.plexus.util.FileUtils;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
@ -153,7 +154,7 @@ public abstract class AbstractWarMojo
*/
protected String[] getExcludes()
{
List excludeList = FileUtils.getDefaultExcludesAsList();
List excludeList = new ArrayList( FileUtils.getDefaultExcludesAsList() );
if ( warSourceExcludes != null && !"".equals( warSourceExcludes ) )
{
excludeList.add( warSourceExcludes );