mirror of https://github.com/apache/maven.git
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:
parent
9b9b349811
commit
eb6fed83ca
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue