@@ -253,7 +253,6 @@ public class HelpMojo
253
253
throws MojoException
254
254
{
255
255
String mojoGoal = getValue( mojo, "goal" );
256
- Node configurationElement = findSingleChild( mojo, "configuration" );
257
256
Node description = findSingleChild( mojo, "description" );
258
257
if ( goal == null || goal.length() <= 0 || mojoGoal.equals( goal ) )
259
258
{
@@ -283,24 +282,18 @@ public class HelpMojo
283
282
284
283
for ( Node parameter : parameters )
285
284
{
286
- writeParameter( sb, parameter, configurationElement );
285
+ writeParameter( sb, parameter );
287
286
}
288
287
}
289
288
}
290
289
}
291
290
292
- private void writeParameter( StringBuilder sb, Node parameter, Node configurationElement )
291
+ private void writeParameter( StringBuilder sb, Node parameter )
293
292
throws MojoException
294
293
{
295
294
String parameterName = getValue( parameter, "name" );
296
295
String parameterDescription = getValue( parameter, "description" );
297
296
298
- Element fieldConfigurationElement = null;
299
- if ( configurationElement != null )
300
- {
301
- fieldConfigurationElement = (Element) findSingleChild( configurationElement, parameterName );
302
- }
303
-
304
297
String parameterDefaultValue = getValueOr( parameter, "defaultValue", "" );
305
298
if ( isNotEmpty( parameterDefaultValue ) )
306
299
{
0 commit comments