mirror of
https://github.com/apache/maven.git
synced 2025-02-08 11:05:37 +00:00
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 @@ private void getPluginConfigurationFromExpressions( Mojo plugin, MojoDescriptor
|
|||||||
List parameters = goal.getParameters();
|
List parameters = goal.getParameters();
|
||||||
|
|
||||||
List invalidParameters = new ArrayList();
|
List invalidParameters = new ArrayList();
|
||||||
if ( parameters.isEmpty() )
|
|
||||||
|
if ( parameters == null || parameters.isEmpty() )
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user