Check if mojo has parameters before populate it

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170736 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2005-05-18 11:59:09 +00:00
parent 2f6b576c4b
commit a624012a8d
1 changed files with 2 additions and 1 deletions

View File

@ -605,7 +605,8 @@ public class DefaultPluginManager
List parameters = goal.getParameters();
List invalidParameters = new ArrayList();
if ( parameters.isEmpty() )
if ( parameters == null || parameters.isEmpty() )
{
return;
}