diff --git a/maven-plugin-descriptor/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java b/maven-plugin-descriptor/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java index 0f0af899e0..f7718a8daf 100755 --- a/maven-plugin-descriptor/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java +++ b/maven-plugin-descriptor/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java @@ -149,7 +149,7 @@ public class MojoDescriptor { parameterMap = new HashMap(); - if ( parameters == null ) + if ( parameters != null ) { for ( Iterator iterator = parameters.iterator(); iterator.hasNext(); ) {