Merging in fix for MNG-2037.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379181 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2006-02-20 17:44:23 +00:00
parent 836b844fde
commit 5395710ce0
1 changed files with 6 additions and 0 deletions

View File

@ -138,6 +138,12 @@ public class DefaultProfileInjector
private void injectPlugins( PluginContainer profileContainer, PluginContainer modelContainer )
{
if ( profileContainer == null || modelContainer == null )
{
// nothing to do...
return;
}
List modelPlugins = modelContainer.getPlugins();
if ( modelPlugins == null )