mirror of https://github.com/apache/maven.git
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:
parent
96b7fe6353
commit
33dfc5fb1c
|
@ -108,7 +108,7 @@ public class DefaultProfileInjector
|
|||
|
||||
List profileTestResources = profileBuild.getTestResources();
|
||||
|
||||
if ( profileTestResources != null )
|
||||
if ( profileTestResources != null && !profileTestResources.isEmpty() )
|
||||
{
|
||||
modelBuild.setTestResources( profileTestResources );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue