mirror of https://github.com/apache/maven.git
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:
parent
2f6b576c4b
commit
a624012a8d
|
@ -605,7 +605,8 @@ public class DefaultPluginManager
|
|||
List parameters = goal.getParameters();
|
||||
|
||||
List invalidParameters = new ArrayList();
|
||||
if ( parameters.isEmpty() )
|
||||
|
||||
if ( parameters == null || parameters.isEmpty() )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue