PR: MNG-881

ensure resources are merged if empty.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290053 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-09-19 03:24:28 +00:00
parent 96b7fe6353
commit 33dfc5fb1c
1 changed files with 23 additions and 23 deletions

View File

@ -108,7 +108,7 @@ public class DefaultProfileInjector
List profileTestResources = profileBuild.getTestResources();
if ( profileTestResources != null )
if ( profileTestResources != null && !profileTestResources.isEmpty() )
{
modelBuild.setTestResources( profileTestResources );
}