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@170735 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3ab55f3c5c
commit
2f6b576c4b
|
@ -605,6 +605,10 @@ public class DefaultPluginManager
|
|||
List parameters = goal.getParameters();
|
||||
|
||||
List invalidParameters = new ArrayList();
|
||||
if ( parameters.isEmpty() )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
for ( int i = 0; i < parameters.size(); i++ )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue