mirror of https://github.com/apache/maven.git
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:
parent
836b844fde
commit
5395710ce0
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue